On Fri, 16 Apr 1999 [EMAIL PROTECTED] wrote:

> (Btw, does anybody know why ghc4.02 complains about comments starting
> with a character different from space (like in ``--:: type'')? This is
> certainly not intended, is it?)

Last I heard this was a deliberate feature of Haskell 98 so you can
define, e.g., -->, -->--, etc as operators. I think a `--' now only starts
a comment if its can't be parsed as part of a longer symbol (e.g.,
"--< Comment >" doesnt work but "--comment" or "-- comment" do.)

___cheers,_dave______________________________________________________
email: [EMAIL PROTECTED]       "Someday, even toasters will have
www.cs.bris.ac.uk/~tweed/pi.htm   monads in them thanks to Haskell."
work tel: (0117) 954-5253         M P Jones (allegedly)

Reply via email to