On 8 June 2011 18:13, Ketil Malde <ke...@malde.org> wrote: > Guy <guytsalmave...@yahoo.com> 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 ivan.miljeno...@gmail.com IvanMiljenovic.wordpress.com _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe