[Haskell-cafe] Comment Syntax

Jon Fairbairn jon.fairbairn at cl.cam.ac.uk
Sun Jun 5 11:07:17 CEST 2011


"Albert Y. C. Lai" <trebla at vex.net> writes:

> 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.

MOVE PROGRAMMER TO SARCASM
-- 
Jón Fairbairn                                 Jon.Fairbairn at cl.cam.ac.uk




More information about the Haskell-Cafe mailing list