No, it's not a bug. --| is a perfectly good lexeme, not the start of a comment.
Simon | -----Original Message----- | From: Mike Thomas [mailto:[EMAIL PROTECTED]] | Sent: 12 February 2002 02:52 | To: [EMAIL PROTECTED] | Subject: Uncertain if this is a bug in GHC | | | Hi there. | | I am uncertain if the error message below from the code | further below is a bug or not. Putting a space between the | "--" and the "|" parses without | error: | | ------------------------------------- | $ ghc -c test.hs | test.hs:4: parse error on input `=' | | ------------------------------------- | module Test where | test a | | a > 1 = 1 | --| a < 1 = 1 | | a = 1 = 0 | | _______________________________________________ | Glasgow-haskell-bugs mailing list | [EMAIL PROTECTED] | http://www.haskell.org/mailman/listinfo/glasgow-| haskell-bugs | _______________________________________________ Glasgow-haskell-bugs mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs