fun-js

Functional Programming library for Javascript

Download .zip Download .tar.gz View on GitHub

fun-js applies the autoCurry function of wu.js to a large portion of the built-in methods of the ECMA standard.

I created this after attending the Functional Programming with Javascript course at HTMLDevConf 2012.

It targets Javascript programmers who would like to start experimenting with techniques used heavily in Haskell.

If you have never heard of Haskell, there is a great tutorial called Learn You a Haskell that is fairly gentle for beginners. Reading the first six chapters of this should make you comfortable with things like composition and currying.