[Haskell-cafe] Comment Syntax

Ketil Malde ketil at malde.org
Wed Jun 8 10:36:08 CEST 2011


Ivan Lazar Miljenovic <ivan.miljenovic at gmail.com> writes:

> And #! in the first line is also treated as a comment in Haskell code
> so that you can run it as a script.

True.  But then you're allowed to add arbitrary symbols after it, I
think.  At least, GHC seems happy about it.

-k
-- 
If I haven't seen further, it is by standing in the footprints of giants



More information about the Haskell-Cafe mailing list