Trouble with Haddock

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.

On Sun, Aug 28, 2011 at 6:37 AM, anonymous
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.
You'll probably get better help if you include the failing example. Just speaking for myself, I can't spot the problem from the example you've included. Jason
participants (2)
-
anonymous
-
Jason Dagit