Function map_opt
fn map_opt<I: Clone, O, E: ParseError<I>, F, G>(parser: F, f: G) -> impl Parser<I, Output = O, Error = E>
where
F: Parser<I, Error = E>,
G: FnMut(<F as Parser<I>>::Output) -> Option<O>
Applies a function returning an Option over the result of a parser.
# use ;
use digit1;
use map_opt;
#