On a sequence , the map operation with a function gives ; the filter with a predicate keeps the with true, in order; the fold from with a two-argument function gives (a left fold; the right fold is ). Sums, counts, maxima, and the building of collections are folds.
Computer Science · Glossaire
Qu'est-ce que « Map operation, filter, fold » ?
Aussi appelé : map operation · filter · fold