> Syntactically I would prefer something that aligns the loop variables with > the containers
Yes, this looks nice. Btw, a similar syntax exists in Julia, but what it does is completely different - it is syntactic sugar for nested for-loops. > Indeed that's a much better syntax, I have absolutely no idea how to > introduce it though. For me, a step forward to a better syntax would be just introducing in instead of , between elements and containers: forEach [x, y, z] in [a, b, c]: Also, changing square brackets to parentheses looks more intuitive to me, as I expect zip to yield tuples: forEach (x, y, z) in (a, b, c):