
24 Nov
2008
24 Nov
'08
6:41 p.m.
2008/11/21 Robert Greayer
How does Hackage run 'haddock' on uploaded packages? I had assumed it directly runs the cabal 'haddock' target, e.g.
runhaskell Setup.hs haddock
but it appears to perhaps be more complex than that.
Some backrgound --
haddock doesn't seem to like quasiquotation - running haddock on a source tree that includes quasiquotations eventually results in:
haddock: internal Haddock or GHC error: Maybe.fromJust: Nothing
(eliminating the code that contains [$xxx|....] constructs gets rid of the error.)
It's true that haddock can't handle qasi-quotation. I've filed a bug ticket: http://trac.haskell.org/haddock/ticket/66 David