A same-type fold for associative operators that requires at least one member present in the collection.
A same-type fold for associative operators that requires at least one member present in the collection.
(Since version 2.5) Use the built-in reduce
method
A same-type non-empty left fold.
A same-type non-empty left fold.
This requires at least one member present in the collection.
(Since version 2.5) Use the built-in reduceLeft
method
A same-type non-empty right fold.
A same-type non-empty right fold.
This requires at least one member present in the collection.
(Since version 2.5) Use the built-in reduceRight
method
Additional methods for
traversable
s.