and

infix fun <S, A, B> Parser<S, (B) -> A>.and(other: Parser<S, B>): Parser<S, A>

Combines two parsers sequentially, applying the first parser and then the second parser.

A.K.A <*>

Return

A parser that applies the first parser and then the second parser.

Parameters

other

The second parser to apply.