UNPKG

const

Version:

The constant function from functional programming: it takes a value and returns a function that will return that value:

27 lines (26 loc) 507 B
{ "name": "const", "version": "1.0.0", "main": "src/const.js", "scripts": { "test": "./node_modules/mocha/bin/mocha --reporter spec", "prepublish": "npm test" }, "repository": { "type": "git", "url": "https://github.com/hughfdjackson/const.git" }, "devDependencies": { "mocha": "1.8.1" }, "keywords": [ "constant", "const", "lift", "k", "K", "combinator" ], "author": "Hugh FD Jackson <hughfdjackson@googlemail.com>", "license": "MIT" }