On 4/18/07, Christof Donat <[EMAIL PROTECTED]> wrote:
Currying doesn't give you

float function(float a) { return mycallback(a,42); }
Of course it does, you just have to clever.

let us say you have this function:
divide = function(a){ return function(b){ return a/b; }}

If you want to create the function a/3 you can do the following:
id = function(id){ return id; }
div3 = divide(id)(3);

~Sean

Reply via email to