[Haskell-cafe] "--" comments

michael rice nowgate at yahoo.com
Fri Dec 11 23:30:19 EST 2009

I'm just noticing that "--" comments don't seem to work properly when the first character following them is a '*'.


--*I like asterisks
--*I like asterisks
--*I like asterisks
--*I like asterisks

double x = x+x

Prelude> :l double
[1 of 1] Compiling Main             ( double.hs, interpreted )

double.hs:1:0: parse error on input `--*'
Failed, modules loaded: none.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20091211/5cce5dfc/attachment.html

More information about the Haskell-Cafe mailing list