then {Ramble} | R Documentation |
then
combinator corresponds to sequencing in BNF. The parser
(then(p1, p2))
recognises anything that p1
and p2
would
if placed in succession.%then%
is the infix operator for the then combinator, and it is the
preferred way to use the then
operator.
then(p1, p2)
p1 |
the first parser |
p2 |
the second parser |
recognises anything that p1
and p2
would if placed in
succession.
(item() %then% succeed("123")) ("abc")