文件名称:ramda-lite:ramdaLite - Ramda.js 的极简版本
文件大小:7KB
文件格式:ZIP
更新时间:2024-06-19 15:41:48
functional functional-programming ramda functional-js ramdajs
拉姆达莱特 Ramda.js 10kb 以下的极简版本 要包含在项目中: var ramdaLite = require ( "./src/ramdaLite" ) ; var multiplyByTwo = function ( v ) { return v * 2 ; } ; var addTwo = function ( v ) { return v + 2 ; } ; var addThree = function ( v ) { return v + 3 ; } ; var composition = ramdaLite . compose ( multiplyByTwo , addTwo , addThree ) ; composition ( 2 ) -- > 9 ; 应用程序接口 包含 默认为 划分 任何一个 空的 错误的 筛选 翻动 为每个 总吨 格特 具
【文件预览】:
ramda-lite-master
----src()
--------ramdaLite.js(10KB)
--------ramdaLite.min.js(5KB)
----README.md(9KB)