mapLaw

inline fun <R, T> Result<T>.mapLaw(transform: (T) -> R): Result<R>