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.
JavaScript Ruby
Latest commit 3991d2b Mar 18, 2013 @osteele Merge pull request #8 from hannesm/fix-rcurry-comment
fix comment describing rcurry


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 .

- Oliver Steele -- original author
- Dean Edwards -- Array.slice suggestion
- henrah -- Function.lambda memoization
- Raganwald -- Rhino compatibility
- Jesse Hallett -- Spidermonkey shell compatibiilty
- Florian Schäfer -- allow leading and trailing spaces in expressions
- Angus Croll -- bug fix