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 · 术语表
什么是 Map operation, filter, fold?
又称: map operation · filter · fold