[Haskell-cafe] Comment Syntax

Guy guytsalmaves-h at yahoo.com
Tue Jun 7 09:41:37 CEST 2011

On 06/06/2011 22:14, Evan Laforge wrote:
>> Back to Haskell: I agree, the choice of the comment delimiter was not the
>> best in light of the possibility to define operators containing it as a
>> substring. But changing it to have "--|" start a comment too might break
>> too much code (and eliminating "--" as a comment starter would certainly
>> break far too much code).
> I like that you have to put a space in for haddock comments.

I originally posted because I found that --| stood out much more clearly as a structured comment than -- |.

More information about the Haskell-Cafe mailing list