function add(x) return function (y) x = x + 1 return x + y, 1, 2 end end pr = print(add(10)(15)) pr = print(add(10)(15))