| According to the Haskell98 report, section 2.3:
| `For example, "-->" or "--|" do not begin a comment.'
| 
| I get the following behavior however:
| 
|   Hugs> let (-->) = (+) in 3 --> 2
|   ERROR: Syntax error

Sorry Koen, but to quote the Hugs user manual (The section
labeled "Haskell 98 features not in Hugs" on P71):

  Two adjacent dashes -- start a one line comment; for strictly technical
  reasons, the change from Haskell 1.4 to Haskell 98 to use maximal munch
  for such comments has not yet been implemented.

All the best,
Mark

Reply via email to