scala/scala — pull request #113 by dcsobral (2011-11-02 20:43:23+00:00)
Title: Add filter method to Parser, to complement map and flatMap when

used in for comprehensions. This is required when pattern matching
is used on the result of the generators.

It is implemented through a new filterWithError method on ParseResult.

Contributed by: Daniel C. Sobral