Am 07.03.2011 14:20, schrieb Stephen Tetley: > Hi Klaus > > Unless you have very specific white-space considerations, you really > want to be using Parsec's Token and LanguageDef modules.
Well, I would want to use Parsec's Token and LanguageDef modules just to get the white spaces (and comments to be ignored) right. Simply skip spaces and comments after every lexical token (by your own wrapper function like "Text.ParserCombinators.Parsec.Token.lexeme"). C. > > There are examples in the "legacy" Parsec 2.0 distribution available > from Daan Leijen's old website: > http://legacy.cs.uu.nl/daan/parsec.html > > Best wishes > > Stephen _______________________________________________ Haskell-Cafe mailing list [email protected] http://www.haskell.org/mailman/listinfo/haskell-cafe
