arrow-core-data / arrow.core / SetK / foldLeft
fun <B> foldLeft(b: B, f: (B, A) -> B): B
Do you like Arrow?