ul
each val in [1, 2, 3, 4, 5]
li= valforeachforeach (x : list)
{
foo(x);
}for worlds each w:
print 'Hello, {w}!'for x, y in my_enumerable {
// ...
}|| items = [5,6,7,8]
for i in items
printline ifor o in orders {
println("${o.id}")
}Languages with hasForEachLoops include Pug, Chapel, C3, Cyber, Jule, Speedie, Almide, hecl
View all concepts with or missing a hasForEachLoops measurement