sum(4)(5) = 9 //JavaScript
function sum(a) {
return function(b) {
return a + b;
}
}
Curry! How do you cook that in other languages?
function sum(a) {
return function(b) {
return a + b;
}
}
Curry! How do you cook that in other languages?