functional-javascript

所属分类:TypeScript编程
开发工具:JavaScript
文件大小:0KB
下载次数:0
上传日期:2017-01-30 01:47:09
上 传 者sh-1993
说明:  Functional是JavaScript中用于函数编程的库。它定义了标准的高阶函数,例如...
(Functional is a library for functional programming in JavaScript. It defines the standard higher-order functions such as map, reduce (aka foldl), and select (aka filter). It also defines functions such as curry, rcurry, and partial for partial function application; and compose, guard, and until for function-level programming.)

文件列表:
.hgtags (49, 2017-01-29)
CHANGES (488, 2017-01-29)
MIT-LICENSE (1058, 2017-01-29)
Rakefile (721, 2017-01-29)
agenda.txt (25, 2017-01-29)
evaluator-frame.html (1542, 2017-01-29)
evaluator.css (967, 2017-01-29)
evaluator.js (5685, 2017-01-29)
examples.js (9662, 2017-01-29)
functional.js (27652, 2017-01-29)
functional.txt (16492, 2017-01-29)
iframe-test.html (325, 2017-01-29)
index.html (7392, 2017-01-29)
index.js (1482, 2017-01-29)
styles.css (1275, 2017-01-29)
tests.html (748, 2017-01-29)
tests.js (4822, 2017-01-29)
to-function.js (8093, 2017-01-29)

# Functional JavaScript (deprecated) This code, from 2007, is deprecated. I'm keeping it available for historical interest. Some of the ideas in this code and in its companion `collections.js` were used in Jeremy Ashkenas's [Underscore.js](http://underscorejs.org), which in turn inspired [Lodash](https://lodash.com). Use those instead. [CoffeeScript](http://coffeescript.org) (aso by Jeremy Ashkenas) and ECMAScript 6 also include [arrow functions](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/Arrow_functions) and functional programming functions such as `map`. If you use these languages, or many other modern languages that compile into ECMAScript, you can do functional prorammming entirely within the language. Thanks to everyone who has contributed, and to everyone who has thanked me over the years, thank you in turn. # Links * [Demo page](http://osteele.com/sources/javascript/functional/) * [Announcement](http://blog.osteele.com/2007/07/functional-javascript/) * [Original README file](https://github.com/osteele/functional-javascript/blob/master/README) (also below) * [Original repo (Google Code)](https://code.google.com/archive/p/functional-javascript/) # Original README Functional defines higher-order methods and functions for functional and function-level programming. It also defines "string lambdas", that allow strings such as `x+1` and `x -> x+1` to be used in some contexts as functions. It is licensed under the MIT License. For more details, see http://osteele.com/sources/javascript/functional/. ## Credits - Oliver Steele – original author - Dean Edwards – `Array.slice` suggestion - henrah – `Function.lambda` memoization - Raganwald – Rhino compatibility - Jesse Hallett – Spidermonkey shell compatibiilty - Florian Schfer – allow leading and trailing spaces in expressions - Angus Croll – bug fix

近期下载者

相关文件


收藏者