//Currying addition

function (int)->int bindAdd(int a) {
    var int left;
    left := a;
    function int return(int right) left+right;
    return
};

var (int)->int add5;
add5 := bindAdd(5);

print(add5(3), add5(4));

