aerophant / ramda
Functional Programming Library in PHP
0.0.3
2018-07-01 14:24 UTC
Requires
- php: ~7.1
Requires (Dev)
- phpunit/phpunit: ~7.1
- squizlabs/php_codesniffer: ^3.3
This package is not auto-updated.
Last update: 2024-11-10 09:28:51 UTC
README
Under Development :(
Adventage of Aerophant Ramda
-
aerophant/ramda
provide auto curry for you and give you better way to do function composition likeramdajs
pipe( always([1, 2, 3, 4, 5]), map(add(1)), // filter even numbers only filter(pipe( partialRight(modulo(), [2]), equals(0) )) )(); // => [2, 4, 6]
-
Easy to pass almost of
aerophant/ramda
functions as callable, just call it without any argument.$alwaysReturn1 = call_user_func_array(always(), [1]);
RoadMap
- version 0.0.x : Under development, not all usseful functions supported
- version 0.1: #1
Want to help me ?
- You can suggest function by creating issues and/or PR
- help improve performance by creating PR.