First time using haddock.<br>I&#39;m unable to include code examples in the module header.<br>Haddock fails with this error:<br>haddock module header parse failed: Cannot parse header<br>documentation paragraphs<br><br>It&#39;s about 12 lines of code, which doesn&#39;t seem like much compared to other packages.<br>

<br>e.g. <br><span style="font-family:courier new,monospace">-- | describing module</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">--</span><br style="font-family:courier new,monospace">

<span style="font-family:courier new,monospace">-- &gt; code</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">-- &gt; ...</span><br style="font-family:courier new,monospace">

<span style="font-family:courier new,monospace">-- &gt; code</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">module Foo </span><br style="font-family:courier new,monospace">

<span style="font-family:courier new,monospace">   ( ....</span><br><br><br>I tried @...@ code blocks, but that didn&#39;t work either.<br>If I shorten the code to 3 lines or so, it will work.<br><br>