Swift implementations for function currying.
For more info on function currying in Swift, please refer to this blog post
Note that we’re aggressive about pushing
master forward along with new versions of Swift. Therefore, we highly recommend against pointing at
master, and instead using one of the releases we’ve provided.
Add this as a package dependency in Xcode:
Or add it as a dependency in your Package.swift file:
dependencies: [ .package(url: "https://github.com/thoughtbot/Curry", from: "5.0.0"), ]
Follow the current instructions in Carthage’s README for up to date installation instructions.
Add the following to your Podfile:
You will also need to make sure you’re opting into using frameworks:
pod install with CocoaPods 0.36 or newer.
Curry is Copyright (c) 2015 thoughtbot, inc. It is free software, and may be redistributed under the terms specified in the LICENSE file.
Curry is maintained and funded by thoughtbot, inc. The names and logos for thoughtbot are trademarks of thoughtbot, inc.
We love open source software! See our other projects or look at our product case studies and hire us to help build your iOS app. We also have a collection of resources for learning iOS development at Upcase.