PHPackages                             krak/fn - 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. krak/fn

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

krak/fn
=======

Functional library for php with proper currying

v1.4.0(3y ago)2419.0k4[4 issues](https://github.com/krakphp/fn/issues)3MITPHP

Since Feb 7Pushed 3y ago3 watchersCompare

[ Source](https://github.com/krakphp/fn)[ Packagist](https://packagist.org/packages/krak/fn)[ RSS](/packages/krak-fn/feed)WikiDiscussions main Synced 3d ago

READMEChangelog (10)Dependencies (7)Versions (39)Used By (3)

Fun
===

[](#fun)

Yet another functional library for PHP. What makes this library special is that it uses PHP Parser to generate curried versions of the non-curried implementations for best performance.

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

[](#installation)

Install with composer at `krak/fn`

Usage
-----

[](#usage)

All functions are defined in `Krak\Fun`, are not curried, and are data last. Curried versions of functions are defined `Kran\Fun\Curried`. Constants are also generated per function in `Krak\Fun\Consts`.

```
