fold

inline fun <E, R> Point<E>.fold(initial: R, operation: (acc: R, E) -> R): R(source)
inline fun <E, R> Vector<E>.fold(initial: R, operation: (acc: R, E) -> R): R(source)