it seems that symbols like \ and ' are gone form the generated documentation

S. Doaitse Swierstra doaitse at swierstra.net
Thu Dec 9 00:16:59 CET 2010


Code in the source of a package like:

@
*Main> throw ThisException `catch` \e -> putStrLn (\"Caught \" ++ show (e :: MyException))
Caught ThisException
@
(from the module http://haskell.org/ghc/docs/7.0-latest/html/libraries/base-4.3.0.0/src/GHC-Exception.html#Exception)

gets formatted like:


*Main> throw ThisException catch e -> putStrLn ("Caught " ++ show (e :: MyException))
Caught ThisException

where the underlying HTML is:

</p><pre>
*Main&gt; throw ThisException <code>catch</code> e -&gt; putStrLn (&quot;Caught &quot; ++ show (e :: MyException))
Caught ThisException
</pre><p>

This is a Haddock problem I assume?

 Doaitse




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/libraries/attachments/20101209/803f8c79/attachment.htm>


More information about the Libraries mailing list