Swiftpack.co - Package - thoughtbot/Curry

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.

Here is the current Swift compatibility breakdown:

| Swift Version | Curry Version | | ------------- | ------------- | | 4.X | 4.X | | 3.X | 3.X | | 2.2, 2.3 | 2.X |



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.


Stars: 476
Help us keep the lights on



v4.0.2 - Mar 12, 2019

This is a small compatibility release for future versions of the Swift Package Manager. We now (theoretically) support building with Swift 3, 4, and 5 simultaneously.

v4.0.1 - Apr 15, 2018

This is a tiny release that only serves to silence warnings in the Xcode project when opening it with Xcode 9.3. If you're not using the Xcode project as a sub-project this release will mean nothing to you. If you are using the Xcode project as a sub-project this release will mean everything to you.

v4.0.0 - Dec 13, 2017

Curry 4.0 improves compatibility with Swift 4.0, specifically including a fix for the "Ambiguous use of 'curry'" errors that were thrown at compile time. (Thanks @tkohout!)

v3.0.0 - Oct 12, 2016

Official Swift 3.0 release!

Thanks @eliperkins, @gfontenot, @sharplet, @jshier, and @ikesyo

v2.3.3 - Jul 22, 2016

This release records the migration attempt for Xcode 8 so that it doesn't throw needless warnings in the project.