
On Sun, 20 Aug 2006, Neil Mitchell wrote:
Hi,
I want to generate documentation for the base libraries, so I darcs get the base libraries, and a very basic (the sample default) Setup.hs, and try:
runhaskell Setup configure runhaskell Setup build
Pretty much no luck, but I'll leave that for someone else to sort out :)
runhaskell Setup haddock
First task is to remove errors about -fno-implicit-bangs, which are in a few files, relatively easy to do.
After that it gets quite far (invokes haddock a fair bit) before failing with:
haddock.exe: Main.all_subs_of_qname: unexpected unqual'd name:IOMode
Sometimes such an error is a Haddock problem, sometimes one of the 'unliterate' procedure in Cabal. Does the problem remain if you start Haddock manually, maybe on manually "unliterated" modules?