Function.prototype.curryCall()

2007-08-28 Thread Peter Michaux
Hi, Has JavaScript support for function currying been proposed? Maybe there is already something like this planned? Function.prototype.curryCall = function(scope) { var args = []; for (var i=1; ihttps://mail.mozilla.org/listinfo/es4-discuss

Re: Function.prototype.curryCall()

2007-08-28 Thread Brendan Eich
That's partial application, not currying. No one has proposed its standardization; lots of Ajax libraries implement it much as you show below. The ones I've looked at play their own custom variations on a theme, so wouldn't all be subsumed by a standard. /be On Aug 28, 2007, at 2:20 PM, Pet