Currymember
Just like all the other curry modules except it modifies Function.prototype.
Adds a member function to Functions allowing currying in Javascript. Useful for passing state to event handlers.
Implementation
Functionprototype { var args = Arrayprototypeslice self = this; return { return self; }}
Example:
var { return a+b; };var add_one = add;should;should;