chickadee » comparse » lift

lift fn parserprocedure

Returns a parser which applies parser and calls fn with its parse result if it succeeds. The result of fn is passed to result. Equivalent to:

(bind parser (compose result fn))