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>,
Equivalent to p.then(f).
p.then(f)