- Swift Functional Programming(Second Edition)
- Dr. Fatih Nayebi
- 33字
- 2021-07-02 23:54:21
Higher-order functions
Higher-order functions can receive other functions as their parameters. Swift provides higher-order functions such as map, filter, and reduce. Also, in Swift, we can develop our own higher-order functions and DSLs.