arrow-core-data / arrow.core / Option / foldLeft
inline fun <B> foldLeft(initial: B, operation: (B, A) -> B): B
Do you like Arrow?