pub fn flat_map<Input, P, F, B>(p: P, f: F) -> FlatMap<P, F> where
Input: Stream,
P: Parser<Input>,
F: FnMut(P::Output) -> Result<B, <Input as StreamOnce>::Error>,
Expand description
Equivalent to p.flat_map(f)
.
pub fn flat_map<Input, P, F, B>(p: P, f: F) -> FlatMap<P, F> where
Input: Stream,
P: Parser<Input>,
F: FnMut(P::Output) -> Result<B, <Input as StreamOnce>::Error>,
Equivalent to p.flat_map(f)
.