[Haskell-cafe] Comment Syntax

Yves Parès limestrael at gmail.com
Sat Jun 4 17:42:32 CEST 2011


*Touché.* Nice one.

2011/6/4 Albert Y. C. Lai <trebla at vex.net>

> On 11-06-04 02:20 AM, Roman Cheplyaka wrote:
>
>> It is, for my taste, a good comment marker, because of its resemblance
>> to a dash. It makes the code look like real text:
>>
>>   let y = x + 1 -- increment x
>>
>
> COBOL is real text, if that is what you want.
>
>
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20110604/5246c92a/attachment.htm>


More information about the Haskell-Cafe mailing list