RosettaCodeData/Task/Loop-over-multiple-arrays-simultaneously/FunL/loop-over-multiple-arrays-simultaneously.funl

5 lines
108 B
Text
Raw Permalink Normal View History

2016-12-05 23:44:36 +01:00
import lists.zip3
for x <- zip3( ['a', 'b', 'c'], ['A', 'B', 'C'], [1, 2, 3] )
println( x.mkString() )