Carthage compatible


Swift implementations for function currying.

For more info on function currying in Swift, please refer to this blog post

Version Compatibility

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.


Swift Package Manager

Add this as a package dependency in Xcode:

Or add it as a dependency in your Package.swift file:

dependencies: [
  .package(url: "", from: "5.0.0"),


github "thoughtbot/Curry"

Then run carthage update.

Follow the current instructions in Carthage’s README for up to date installation instructions.


Add the following to your Podfile:

pod 'Curry'

You will also need to make sure you’re opting into using frameworks:


Then run pod install with CocoaPods 0.36 or newer.


See the CONTRIBUTING document. Thank you, contributors!


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.