Chris Casinghino wrote:
On 8/25/07, Chris Casinghino <[EMAIL PROTECTED]> wrote:
I'm not sure there is a built in combinator for what you want,


I guess I should have looked harder.  What you want is manyTill:

"manyTill  :: GenParser tok st a -> GenParser tok st end -> GenParser tok st [a]

(manyTill p end) applies parser p zero or more times until parser end
succeeds. Returns the list of values returned by p."

Yeah, OK, that looks good...

_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to