On 8 June 2011 18:13, Ketil Malde <[email protected]> wrote:
> Guy <[email protected]> writes:
>
>> Out of interest, is there any other language where the comment
>> delimiter is invalid if immediately followed by a symbol?
>
> Another quaint example, in shell scripts, lines starting with '#' are
> comments, except when the first line starts with '#!'.  Admittedly, this
> is still a comment as far as the shell is concerned, it's the OS
> that is intercepting the comment's contents and acting on it.

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

-- 
Ivan Lazar Miljenovic
[email protected]
IvanMiljenovic.wordpress.com

_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to