applyL

infix fun <S, A, B : Any> B.applyL(p: Parser<S, A>): Parser<S, B>

Creates a parser that applies a constant value and then matches the given parser.

A.K.A. <$

Return

A parser that applies a constant value and then matches the given parser.

Parameters

p

The parser to match.