I noticed in the all syntax example, we have a break keyword to exit the for loop, but no continue keyword to skip one iteration. Should continue keyword be added for support?
for a in some_list {
# skip negative numbers
if a < 0 { continue }
sum = sum + a
}
Let's wait for a practical ask for continue rather than a theoretical one.
It acts the same way as a guard clause in a function to exit the logic early, but waiting until someone has an actual business need for it is good.
Last updated: Jun 16 2026 at 16:19 UTC