
12 Dec
2008
12 Dec
'08
6:02 a.m.
I've been using "cabal haddock" to run haddock on my package. I also
get the same error using haddock directly:
$ haddock -odir=tmp --debug --verbose --html Generics/EMGM.hs haddock: internal Haddock or GHC error: Maybe.fromJust: Nothing
Have you filed a ticket for this in the haddock trac so that he doesn't forget? http://trac.haskell.org/haddock/
There seemed to be perhaps one or two tickets related, but I wasn't sure if any exactly matched the issue, so I created a new one with a minimal testcase.
And for anyone who later comes upon this thread seeking an answer to a similar problem, this is apparently a bug in the GHC API on which Haddock is dependent: http://hackage.haskell.org/trac/ghc/ticket/2739 Regards, Sean