Result.map transforms the contained value using the provided projection.
Result.map
Result<T, E>.map = <U>(proj: (a: T) => U) => Result<U, E>;
div(2, 2).map(n => n * 2); // Ok(2)