RosettaCodeData/Task/Variadic-function/Slate/variadic-function-1.slate

5 lines
168 B
Text
Raw Permalink Normal View History

2013-04-11 01:07:29 -07:00
define: #printAll -> [| *rest | rest do: [| :arg | inform: arg printString]].
printAll applyTo: #(4 3 5 6 4 3).
printAll applyTo: #('Rosetta' 'Code' 'Is' 'Awesome!').