Maps this Result to Result by either applying the transform function if this Result is Ok, or returning this Err.
Elm: Result.andThen
Rust: Result.and_then