[Haskell-cafe] "--" comments
shinnonoir at gmail.com
Sat Dec 12 06:19:12 EST 2009
On Sat, Dec 12, 2009 at 5:34 AM, Brandon S. Allbery KF8NH
<allbery at ece.cmu.edu> wrote:
> > On Dec 11, 2009, at 23:30 , michael rice wrote:
> > I'm just noticing that "--" comments don't seem to work properly when the first character following them is a '*'.
> I believe the spec only treats "-- " as a comment leader; this is why Haddock markup has a space between the "--" and the markup.
The spec  treats anything that starts with two or more dashes not
followed by a non-symbol to be the start of a comment.
More information about the Haskell-Cafe