[Haskell-beginners] Misc items
Edward Z. Yang
ezyang at MIT.EDU
Thu Aug 30 16:46:46 CEST 2012
Hello,
This is because -- appended by a symbol results in the dashes
being parsed as an operator. Add a space.
Cheers,
Edward
Excerpts from KMandPJLynch's message of Thu Aug 30 10:39:14 -0400 2012:
> Good morning,
>
> A comment such as [which begins with -- followed immediately by a period '.' - see next line]:
> --...
> creates the syntax error:
> ch11.hs:228:1: parse error on input `--...'
>
> I'd appreciate any advice.
>
> Good day
>
More information about the Beginners
mailing list