Hello,<br>while trying to generate Haddock documentation (Haddock version 2.9.2, (c) Simon Marlow 2006), it chokes on the following fragment<br><br>-- |Apply a given function over all elements of a list and select one of the<br>
-- results.<br>selector :: (Arbitrary b) =&gt; <br>            [a]      -&gt; -- ^ Elements to select from<br>            (a -&gt; b) -&gt; -- ^ Constructor to apply to selected element<br>            Gen b<br>selector list ctor = oneof (map (return . ctor) list)<br>
<br>with the following error message:<br><br>&#39;   parse error on input `-- ^ Elements to select from<br><br>I am puzzled as this is exactly how arguments are supposed to be documented, according to <a href="http://www.haskell.org/haddock/doc/html/ch03s02.html#id565220">http://www.haskell.org/haddock/doc/html/ch03s02.html#id565220</a> <br>
<br>Any clues ?<br><br>Arnaud<br>