RosettaCodeData/Task/Currying/Sidef/currying-1.sidef
2023-07-01 13:44:08 -04:00

2 lines
63 B
Text

var adder = 1.method(:add);
say adder(3); #=> 4