
2010/12/9 S. Doaitse Swierstra
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-E...) gets formatted like:
*Main> throw ThisException catch e -> putStrLn ("Caught " ++ show (e :: MyException)) Caught ThisException
where the underlying HTML is:
</p><pre> *Main> throw ThisException <code>catch</code> e -> putStrLn ("Caught " ++ show (e :: MyException)) Caught ThisException </pre><p>
This is a Haddock problem I assume? Doaitse
Most probably yes. Here's the code for those who want to take a look: http://code.haskell.org/haddock/src/Haddock/Lex.x I'll take a look at it later. David