Haddock chokes on '#'

Peter Simons simons at cryp.to
Fri Feb 11 12:43:41 EST 2005


Processing the file

> module Test where
>
> -- |Haddock chokes on this.
>
> (#)    :: a -> (a -> b) -> b
> a # f  =  f a

with Haddock 0.6 gives an error:

 | haddock test.hs
 | test.hs:5:3: Parse error

Since GHC deals with this code just fine, I suppose this is
a bug.

Peter



More information about the Glasgow-haskell-users mailing list