onSuccess

fun <R> onSuccess(block: (value: T) -> R)

singular version of fold's onSuccess