lastwhitebird/functional

functional programming parts

dev-master 2022-06-17 12:05 UTC

This package is auto-updated.

Last update: 2024-05-17 16:19:52 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"
        ],