[Haskell] Re: comment vs varsym
Taral
taralx at gmail.com
Fri Dec 9 00:46:54 EST 2005
On 12/8/05, Taral <taralx at gmail.com> wrote:
> or b) comment, because the maximal munch rule says so (it matches the newline):
>
> comment -> dashes [any<symbol> {any}] newline
> varsym -> (symbol {symbol | :})<reservedop | dashes>
Aha. Maximal munch only applies to non-whitespace, so Hugs is right. Yay.
--
Taral <taralx at gmail.com>
"Computer science is no more about computers than astronomy is about
telescopes."
-- Edsger Dijkstra
More information about the Haskell
mailing list