[Haskell-cafe] Haddock question
Luis Cabellos
zhen.sydow at gmail.com
Sun Nov 26 06:01:41 EST 2006
Ok, With your example I realized that I don't write the type signature
declaration of anything. Without the type Haddock don't put the
comments from code in the generated doc. Now it works.
Thanks. Luis
On 11/26/06, Donald Bruce Stewart <dons at cse.unsw.edu.au> wrote:
> It appears to be an error in current haddock when interacting with ghc
> 6.6.
>
> If you use haddock 0.8, the error message is there, but the
> documentation is still generated, so should be ok:
>
> $ runhaskell Setup.lhs haddock
> Preprocessing executables for haq-0.0...
> Running Haddock for haq-0.0...
> Warning: cannot use package haq-0.0:
> ghc-pkg failed
> Warning: cannot use package base-2.0:
> HTML directory /home/dons/share/ghc-6.6/html/libraries/base does not exist.
> Warning: Main: the following names could not be resolved:
> IO
>
> $ w3m -dump dist/doc/html/haq/Main.html
> haq Contents Index
> Main
> Synopsis
> main :: IO ()
> Documentation
> main :: IO ()
> main runs the main program
> Produced by Haddock version 0.8
>
> So grab haddock 0.8 and try that.
>
> http://haskell.org/haddock/#Download
>
> -- Don
>
More information about the Haskell-Cafe
mailing list