Catamorphism

From Rosetta Code
Revision as of 13:32, 18 September 2012 by rosettacode>Kzh
Catamorphism is a draft programming task. It is not yet considered ready to be promoted as a complete task, for reasons that should be found in its talk page.

Reduce is a function or method that is used to take the values in an array or a list and reduce them to one value depending on a specified function. It is also called "fold".