[Haskell-cafe] Trouble with Haddock

anonymous qubital at gmail.com
Sun Aug 28 15:37:49 CEST 2011


First time using haddock.
I'm unable to include code examples in the module header.
Haddock fails with this error:
haddock module header parse failed: Cannot parse header
documentation paragraphs

It's about 12 lines of code, which doesn't seem like much compared to other
packages.

e.g.
-- | describing module
--
-- > code
-- > ...
-- > code
module Foo
   ( ....


I tried @...@ code blocks, but that didn't work either.
If I shorten the code to 3 lines or so, it will work.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20110828/60582551/attachment.htm>


More information about the Haskell-Cafe mailing list