map

Function map 

Source
pub fn map<'a, O, R>(
    combinator: impl Fn(&'a str) -> ParseResult<'_, O>,
    func: impl Fn(O) -> R,
) -> impl Fn(&'a str) -> ParseResult<'_, R>
Expand description

Maps the combinator by a function.