Just in case I wasn't clear enough, I'm asking about skipping keywords represented by the skip combinator that can be located anywhere within the input.

I do know about skipMany and skipMany1, in fact skip is defined in terms of these.

On Apr 11, 2007, at 9:04 PM, Joel Reymont wrote:

Is there a way to have any Parsec combinator skip a certain set of keywords?

I tried lexeme = P.lexeme lexer . (skip >>) but I don't think lexeme is called for every keyword.

--
http://wagerlabs.com/





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

Reply via email to