RosettaCodeData/Task/Currying/Sidef/currying-1.sidef
2016-12-05 23:44:36 +01:00

2 lines
63 B
Text

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