:: (a -> a -> a) -> t a -> a package:vector

O(n) Left fold on non-empty vectors.
O(n) Left fold on non-empty vectors with strict accumulator.
O(n) Right fold on non-empty vectors.
O(n) Right fold on non-empty vectors with strict accumulator.