--+ not treated as a start of a comment

Ian Lynagh igloo at earth.li
Sun Dec 9 13:43:46 EST 2001


If I have

    foo = 0 --+ 1

then ghc tells me

    tt.lhs:2: Variable not in scope: `--+'

while the report (and hugs) believe "--+ 1" is a comment.


Thanks
Ian





More information about the Glasgow-haskell-bugs mailing list