This combinator executes each of these parsers and combines their results with a given function.
This combinator executes each of these parsers and combines their results with a given function.
Each of these parsers is executed in turn, each yielding a result. So long as every parser succeeded, the whole combinator succeeds and each of the results is fed into the function f. The result of applying f to the results is returned by the combinator. If any of these parsers fail, the whole combinator fails.
Value parameters
f
the function to apply across the results of all the parsers.
Attributes
Returns
a parser that seqeunces each of these parsers and combines their results with the function f.
This combinator executes each of these parsers and pairs all their results together.
This combinator executes each of these parsers and pairs all their results together.
Each of these parsers is executed in turn, each yielding a result. So long as every parser succeeded, the whole combinator succeeds. The pair formed from all of the results is returned by the parser. If any of these parsers fail, the whole combinator fails.
Attributes
Returns
a parser that seqeunces each of these parsers and pairs them all together.