Could you give more specifics about what you'd like to accomplish? Or what you mean by graceful?
The wiki article on Currying gives a javascript example: ------------------------------ function addN(n) { var curry = function(x) { return x + n; }; return curry; } ------------------------------ add2 = addN(2); alert(add2); alert(add2(7)); ------------------------------ Seems relatively clean. JK -----Original Message----- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Sean Catchpole Sent: Monday, April 16, 2007 4:52 PM To: jquery-en@googlegroups.com Subject: [jQuery] Re: Library showdowns Interesting find Karl, Thanks I'm still trying to see if I can find a graceful way to implement curried functions, but that method is elegant in it's own sense. ~Sean