> I'd have thought it would have been simpler to just make the rule that -2 
> (no spaces between '-' and '2') would be a single lexeme,

But then x-2 won't mean "subtract 2 from x" but "call x with arg -2".


        Stefan

_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to