PHPackages                             phpfn/curry - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. phpfn/curry

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

phpfn/curry
===========

Convenient implementation of function currying and partial application

2.0.1(5y ago)6101MITPHPPHP &gt;=7.4CI failing

Since Aug 9Pushed 5y ago2 watchersCompare

[ Source](https://github.com/phpfn/curry)[ Packagist](https://packagist.org/packages/phpfn/curry)[ Docs](https://github.com/phpfn)[ RSS](/packages/phpfn-curry/feed)WikiDiscussions master Synced 1w ago

READMEChangelogDependencies (2)Versions (3)Used By (0)

Curry
=====

[](#curry)

Convenient implementation of function currying and partial application.

- [Installation](#installation)
- [Usage](#usage)
    - [Left currying](#left-currying)
    - [Right currying](#right-currying)
    - [Partial application](#partial-application)
- [Api](#api)
    - [Functions](#functions)
    - [Methods of the curried function](#curried)

Installation
------------

[](#installation)

Library can be installed into any PHP application:

- Using [`Composer`](https://getcomposer.org/) dependency manager
- [The Force](https://www.youtube.com/watch?v=o2we_B6hDrY) for the Jedi Developers

```
$ composer require phpfn/curry
```

In order to access library make sure to include `vendor/autoload.php`in your file.

```
