%thentree% {Ramble}R Documentation

%thentree% is the infix operator for the then combinator, and it is the preferred way to use the thentree operator.

Description

%thentree% is the infix operator for the then combinator, and it is the preferred way to use the thentree operator.

Usage

p1 %thentree% p2

Arguments

p1

the first parser

p2

the second parser

Value

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

See Also

alt, thentree

Examples

(item() %thentree% succeed("123")) ("abc")

[Package Ramble version 0.1.1 Index]