[Haskell-cafe] Comment Syntax

Ketil Malde ketil at malde.org
Wed Jun 8 10:13:57 CEST 2011


Guy <guytsalmaves-h at 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.

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



More information about the Haskell-Cafe mailing list