Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
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.
branch: master

This branch is 12 commits behind osteele:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
.gitignore
.hgtags
CHANGES
MIT-LICENSE
README
Rakefile
agenda.txt
evaluator-frame.html
evaluator.css
evaluator.js
examples.js
functional.js
functional.txt
iframe-test.html
index.html
index.js
styles.css
tests.html
tests.js
to-function.js

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
Something went wrong with that request. Please try again.