arrow-core-data / arrow.core / Validated / mapLeft
inline fun <EE> mapLeft(f: (E) -> EE): Validated<EE, A>
inline fun <EE> mapLeft(f: (E) -> EE):
Validated
<EE, A>
Apply a function to an Invalid value, returning a new Invalid value. Or, if the original valid was Valid, return it.
Do you like Arrow?