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.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset