arrow-core-data / arrow.core / Validated / foldLeft
inline fun <B> foldLeft(b: B, f: (B, A) -> B): B
apply the given function to the value with the given B when valid, otherwise return the given B
Do you like Arrow?