Are the functions accumulate
, compress
, fold
& reduce
synonyms?
Well, it depends on the language. It is a common function with different names in different languages.
See: Wikipedia entry
But yes, it's commonly known as the names you mentioned plus inject
.
The Wikipedia entry has a more comprehensive list of its aliases in several languages.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With