Function combine::combinator::and_then [] [src]

pub fn and_then<P, F, O, E>(p: P, f: F) -> AndThen<P, F> where P: Parser,
        F: FnMut(P::Output) -> Result<O, E>,
        E: Into<Error<P::Input::Item, P::Input::Range>>

Equivalent to p.and_then(f).