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.
pub fn map<'a, O, R>(
combinator: impl Fn(&'a str) -> ParseResult<'_, O>,
func: impl Fn(O) -> R,
) -> impl Fn(&'a str) -> ParseResult<'_, R>Maps the combinator by a function.