Maps this Result to Result by either applying the transform function to the value if this Result is Ok, or returning this Err.
Elm: Result.map
Haskell: Data.Bifunctor.first
Rust: Result.map