
20 Aug
2007
20 Aug
'07
4:26 a.m.
Stefan O'Rear wrote:
What's wrong with the status quo? Our current lexical rules *seem* complicated to newbies, but just like everything else in Haskell it carries a deep simplicity; having only one rule (maximal-munch) gives a certain elegance that the proposals all lack.
I'm quite in favour of "maximal munch", but after munching "Foo." or "Foo.where" saying: Sorry I've munched too much, I meant to munch only "Foo" and "." (because Foo is a data constructor) or "Foo.wher" and "e" (because "where" is a keyword) carries "simplicity", to "deep" for me. Cheers Christian