Swift Functional Programming(Second Edition)
上QQ阅读APP看书,第一时间看更新

The map, filter, and reduce functions

Swift provides map, filter, and reduce functions, which are higher-order functions.