Module CCParse.Infix
val (>>=) : 'a t -> ('a -> 'b t) -> 'b t
Monadic bind.
p >>= f
results in a new parser which behaves asp
then, in case of success, appliesf
to the result.
val (<*) : 'a t -> _ t -> 'a t
a <* b
parsesa
intox
, parsesb
and ignores its result, and returnsx
.
val (*>) : _ t -> 'a t -> 'a t
a *> b
parsesa
, then parsesb
intox
, and returnsx
. The results ofa
is ignored.