lastwhitebird / functional
functional programming parts
dev-master
2022-06-17 12:05 UTC
Requires
- php: >=5.6
This package is auto-updated.
Last update: 2025-01-17 17:58:44 UTC
README
This is almost complete reimplementation of Ramda.js in PHP.
All functions are NOT curried! You have to do it yorself (though it's easy). All function and parameter names are in snake_case.
Credits
This project is partially made of Ramda, Burgestrand/Funcy, reactphp/partial and currry fn.
Install
The recommended way to install is through composer.
{ "require": { "lastwhitebird/functional": "dev-master" } }
...and if you want to use some fancy unicode abbreviations for the widely used function set:
"autoload": { "files":[ "vendor/lastwhitebird/functional/src/include.php" ],