| >     parse error on input ‘-- *kind* and role of its argument.
| Luckily,
| > laziness should’
| >
| > [1] http://haskell.inf.elte.hu/builders/freebsd-amd64-
| head/322/10.html
| > _______________________________________________
| > ghc-devs mailing list
| > [email protected]
| > http://www.haskell.org/mailman/listinfo/ghc-devs
| >
| 
| ‘-- *’ is Haddock syntax for headers and because GHC doesn't expect a
| Haddock comment there, it chucks a parse error. I think just adding a
| leading space or turning it into {- -} style comment would work.
| 
| In all honesty, GHC should just warn and treat as regular comments at
| these cases rather than failing.

I agree.  I've been bitten by this several times.  But don't you mean "Haddock 
should just warn..."?

S
_______________________________________________
ghc-devs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/ghc-devs

Reply via email to