grapes-then-grapes: '%then%' is the infix operator for the then combinator.

Description Usage Arguments Value Examples

Description

%then% is the infix operator for the then combinator.

Usage

1
p1 %then% p2

Arguments

p1

the first parser

p2

the second parser

Value

recognises anything that p1 and p2 would if placed in succession.

Examples

1
(item() %then% succeed("123")) ("abc")

chappers/Ramble documentation built on May 13, 2019, 3:30 p.m.