[Haskell-cafe] Haddock doesn't work -- with Haddock

Stefan O'Rear stefanor at cox.net
Fri Jul 6 21:43:42 EDT 2007

On Sat, Jul 07, 2007 at 09:40:57AM +0800, Michael T. Richter wrote:
> On Fri, 2007-06-07 at 18:22 -0700, Stefan O'Rear wrote:
> > You've just ran into Cabal bug #14, or maybe #102.
> > http://hackage.haskell.org/trac/hackage/ticket/14
> > http://hackage.haskell.org/trac/hackage/ticket/102
> It doesn't appear to be either of these.  My own projects use no form of
> pre-processing and exhibit exactly the same problem: a parse error on
> first character of the line after the first Haddock comment.  I don't
> know if the Haddock project itself (whose output I put up here) uses
> pre-processing, but I know for a fact my code does not.

The haddock project does.

Parse error on the first line after a Haddock comment is a givaway that
you have bad haddock syntax, either in the comment itself or possibly
the .cabal file (you need to escape slashes in the package description -
that was a big pain to figure out for me).


More information about the Haskell-Cafe mailing list