RosettaCodeData/Task/Loops-Foreach/Nemerle/loops-foreach.nemerle
Ingy döt Net d066446780 langs a-z
2013-04-10 22:43:41 -07:00

4 lines
146 B
Text

def things = ["Apple", "Banana", "Coconut"];
foreach (thing in things) WriteLine(thing.ToLower());
foreach (i in [5, 10 .. 100]) Write($"$i\t");