Comment Syntax

Neil Mitchell ndmitchell at
Mon Jan 30 09:28:51 EST 2006

> > Another argument in favour of this is that most editors with syntax
> > hilighting will show --> as a comment, which again increases the
> > confusion factor.
> I would rather argue that since we have editors with syntax
> highlighting, this isn't a big problem. The editor will tell you (if
> the highlighting is implemented correctly) that --> does not start a
> comment. Rather than changing the language we should fix the
> highlighting modes for the editors in question.

This is rather hard, unless your editor is actually a thinly disguised
programming language. Certainly for my editor of choice (TextPad) this
cannot be done easily - and isn't needed for most other languages.


More information about the Haskell-prime mailing list