RosettaCodeData/Task/Currying/Tcl/currying.tcl

3 lines
69 B
Tcl
Raw Permalink Normal View History

2015-02-20 09:02:09 -05:00
interp alias {} addone {} ::tcl::mathop::+ 1
puts [addone 6]; # => 7