ianhenderson.org

XML

journal

20 December 2005

Many functional programming languages (e.g. Haskell, ML) support a useful language feature known as “currying.” The gist of it is: you give a function fewer arguments than it was expecting, and it yields another function that takes the remaining arguments. While Javascript isn’t widely thought of as a functional programming language, it has lots of functional language features—anonymous functions, closures, &c. So how do we implement “currying” in Javascript? read more…

Yeah, so I’m a bit late to the weblog party. But then again, so’s Tim Berners-Lee.