Nowhere any Haskell book mentioned "line comments start with "-- ", not just "--"." It is just people usually put "-- " ahead of comments.
 
I can successfully compile "--print bla bla bla."
On Wed, Sep 30, 2009 at 7:36 PM, Sebastian Sylvan <sebastian.sylvan@gmail.com> wrote:


On Thu, Oct 1, 2009 at 12:52 AM, Hong Yang <hyangfji@gmail.com> wrote:
Hi,

I got an error if one of lines reads "--++ bla bla bla" where I tried to comment, but "-- ++ bla bla bla" (notice the space after "--") is OK.

Do you think this revealed a tiny bug in the GHC compiler (I am using Windows Haskell Platform 2009.2.0.2)?

Line comments start with "-- ", not just "--".

--
Sebastian Sylvan