osteele / 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.

This URL has Read+Write access

name age message
file .gitignore Loading commit data...
file .hgtags Fri Sep 07 17:51:41 -0700 2007 Added tag working for changeset d216a82e7c18 [osteele]
file CHANGES Sun Nov 11 06:49:11 -0800 2007 move functional/* -> . [osteele]
file MIT-LICENSE Sun Nov 11 06:49:11 -0800 2007 move functional/* -> . [osteele]
file README Mon May 25 13:17:31 -0700 2009 add hallettj to credits [osteele]
file Rakefile
file agenda.txt Sun Nov 11 07:17:51 -0800 2007 remove .htaccess; minor tweaks [osteele]
file evaluator-frame.html Sun Nov 11 06:49:11 -0800 2007 move functional/* -> . [osteele]
file evaluator.css Sun Nov 11 06:49:11 -0800 2007 move functional/* -> . [osteele]
file evaluator.js Thu Feb 14 11:08:07 -0800 2008 emulate Prototype, for examples [osteele]
file examples.js Thu Feb 14 11:08:07 -0800 2008 emulate Prototype, for examples [osteele]
file functional.js Wed Apr 08 13:16:08 -0700 2009 Changes for compatibility with Spidermonkey she... [Jesse Hallett]
file functional.txt Sun Nov 11 06:49:11 -0800 2007 move functional/* -> . [osteele]
file iframe-test.html Sun Nov 11 06:49:11 -0800 2007 move functional/* -> . [osteele]
file index.html
file index.js
file styles.css
file tests.html
file tests.js
file to-function.js Sun Nov 11 06:49:11 -0800 2007 move functional/* -> . [osteele]
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/javascripts/functional .

Credits:
- Oliver Steele -- original author
- Dean Edwards -- Array.slice suggestion
- henrah -- Function.lambda memoization
- Raganwald -- Rhino compatibility
- Jesse Hallett -- Spidermonkey shell compatibiilty