aerophant/ramda
Composer 安装命令:
composer require aerophant/ramda
包简介
Functional Programming Library in PHP
README 文档
README
Under Development :(
Adventage of Aerophant Ramda
-
aerophant/ramdaprovide auto curry for you and give you better way to do function composition likeramdajspipe( 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/ramdafunctions 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.
统计信息
- 总下载量: 46
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 3
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2018-06-30