O'Reilly logo

Swift Functional Programming - Second Edition by Dr. Fatih Nayebi

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

FP support

FP paradigms should be reinforced by related constructs, predefined definitions, occurrences in standard libraries, and so on.

They should satisfy the following rules:

  • Overloading for generic function types
  • First-class multiple invocation and multicasting
  • Function marshalling and serialization (closures as data structures)

Swift supports the preceding FP paradigms.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required