functional-lite

Functional Javascript

npm install functional-lite
1 downloads in the last day
1 downloads in the last week
46 downloads in the last month
@version    0.2.3
@date       2014-02-28
@stability  2 - Unstable

Functional – Build Coverage

Experimental Functional stuff.

Examples

Extends String and Function with "every filter each map fold foldr some"

// _ is default first argument name when no arguments defined

"_ + 1".map([1, 2, 3])
// is equal to
"_ -> _ + 1".map([1, 2, 3])
// is equal to
[1, 2, 3].map(Fn("_ + 1"))
// [2, 3, 4]

Browser Support

browser support

Licence

Copyright (c) 2012 Lauri Rooden <lauri@rooden.ee>
The MIT License

npm loves you