Re: [Haskell-cafe] Re: Parsec is being weird at me

26 Aug
2007
26 Aug
'07
4:14 a.m.
Chris Casinghino wrote:
On 8/25/07, Chris Casinghino
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...
6478
Age (days ago)
6478
Last active (days ago)
0 comments
1 participants
participants (1)
-
Andrew Coppin