Function Currying (And Uncurrying) In Swift

Photo by Clark Tibbs on Unsplash

Many blog article seems to think that function currying is something to do with a cooking process. Unfortunately sauce has little to do with this language feature!

However currying can be necessary in order to compose higher-order functions and useful in a conceptual way when writing Swift code.

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store