map

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