fold

inline fun <E, R> KoneIterator<E>.fold(initial: R, operation: (acc: R, E) -> R): R(source)
inline fun <E, R> KoneIterable<E>.fold(initial: R, operation: (acc: R, E) -> R): R(source)
inline fun <K, V, R> KoneMap<out K, V>.fold(initial: R, operation: (acc: R, KoneMapEntry<K, V>) -> R): R(source)