Community
Participate
Working Groups
Some languages (e.g., Go, Swift, ...) support guards in loops. This would be a nice addition for imperative-style constructions, as in: foreach n in l { if n > 10 { println(n) } } This could be replaced by, say: foreach n in l when n > 10 { println(n) } The syntax is to be discussed, this could be nice, too: foreach n in l, n > 10 { println(n) }
GitHub Pull Request 287 created by [jponge] https://github.com/eclipse/golo-lang/pull/287
Merged