[Haskell-cafe] Hackage/Cabal/Haddock question

David Waern david.waern at gmail.com
Mon Nov 24 18:41:09 EST 2008

2008/11/21 Robert Greayer <robgreayer at yahoo.com>:
> 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:



More information about the Haskell-Cafe mailing list