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

Operators

We will discuss the following different custom infix operators now:

  • <^>: To map a function over a value conditionally
  • <*>: To apply a function with context to a value with context
  • <|: To decode a value at the specific key into the requested type
  • <|?: To decode an optional value at the specific key into the requested type
  • <||: to decode an array of values at the specific key into the requested type

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