Carthage compatible

Curry

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.

Installation

Swift Package Manager

Add this as a package dependency in Xcode:

https://github.com/thoughtbot/Curry

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

dependencies: [
  .package(url: "https://github.com/thoughtbot/Curry", from: "5.0.0"),
]

Carthage

github "thoughtbot/Curry"

Then run carthage update.

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

CocoaPods

Add the following to your Podfile:

pod 'Curry'

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

use_frameworks!

Then run pod install with CocoaPods 0.36 or newer.

Contributing

See the CONTRIBUTING document. Thank you, contributors!

License

Curry is Copyright (c) 2015 thoughtbot, inc. It is free software, and may be redistributed under the terms specified in the LICENSE file.

About

thoughtbot

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.

GitHub

https://github.com/thoughtbot/Curry