Function combine::parser::sequence::then

source ·
pub fn then<P, F, N>(p: P, f: F) -> Then<P, F>where
    F: FnMut(P::Output) -> N,
    P: Parser,
    N: Parser<Input = P::Input>,
Expand description

Equivalent to p.then(f).