Functional JavaScript at Oliver Steele
Functional is a JavaScript library for functional programming. It defines the standard higher-order functions (map, reduce, filter) that you can read about elsewhere on the web. It also defines functions for partial function application and function-level programming: curry, partial, compose, guard, and until. Finally, it introduces “string lambdas”, which let you write ‘x -> x+1’, ‘x+1’, or even ‘+1’ as synonyms for function(x) {return x+1}.
JavaScript is a functional language. This library helps to rub that fact in a bit more.