map

inline fun <T1, T2, E> Result<T1, E>.map(block: (T1) -> T2): Result<T2, E>