* Andrew Coppin <andrewcop...@btinternet.com> [2011-06-03 18:12:04+0100] > On 03/06/2011 05:02 PM, Albert Y. C. Lai wrote: > >I propose that only {- -} is comment; that is, -- is an operator token > >and not a marker of comments. > > I'm curious to know why anybody thought that "--" was a good comment > marker in the first place. (I'm curious because Haskell isn't the > only language to have made this strange choice.)
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 -- Roman I. Cheplyaka :: http://ro-che.info/ _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe