4 Star 8 Fork 1

Rezero / defun

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
package.json 589 Bytes
一键复制 编辑 原始数据 按行查看 历史
zhenlong.qin 提交于 2016-09-23 21:59 . defun
{
"name": "defun",
"version": "1.2.3",
"description": "pattern match,js other define function",
"main": "defun.js",
"directories": {
"test": "test"
},
"scripts": {
"test": "echo \"cd test && open test html\""
},
"repository": {
"type": "git",
"url": "https://github.com/diqye2014/defun.git"
},
"keywords": [
"match pattern",
"pattern match",
"defun"
],
"tonicExample":"const defun = require('defun').defun;\nconst sum = defun({\n '[]':0,\n '(x:xs)':(x,xs)=>x+sum(xs)\n});\n sum([1,2,3,4,5])",
"author": "diqye",
"license": "ISC"
}
JavaScript
1
https://gitee.com/diqye/defun.git
git@gitee.com:diqye/defun.git
diqye
defun
defun
master

搜索帮助