[Haskell-cafe] Comment Syntax

Nick Bowler nbowler at elliptictech.com
Mon Jun 6 19:39:54 CEST 2011


On 2011-06-06 13:08 -0400, Albert Y. C. Lai wrote:
> Recall that the problem is not with isolated characters, but whole strings.
[...]
> in LaTeX, "%%@#$&^*" is a comment.

This example probably does not help your position.

Since (La)TeX allows the comment character to be changed at any time,
the above is not necessarily a comment.  Furthermore, even with the
default character classifications, \% does not introduce a comment.
\% not introducing a comment in (La)TeX doesn't seem a whole lot
different from --- not introducing a comment in Haskell.

-- 
Nick Bowler, Elliptic Technologies (http://www.elliptictech.com/)



More information about the Haskell-Cafe mailing list