This is a curried version of the map method on the Parser interface.
const parser = success(89).map(n => n + 1)run(parser)("doesn't matter") // => Ok(90)
This is a curried version of the map method on the Parser interface.