- Swift Functional Programming(Second Edition)
- Dr. Fatih Nayebi
- 34字
- 2021-07-02 23:54:21
First-class functions
Functions are first-class types in Swift, just as in languages such as Ruby, JavaScript, and Go, and can be stored, passed, and returned. First-class functions empower the FP style in Swift.