mapCatching

inline fun <R> mapCatching(transform: (T) -> R): Result<R>