Be concise.
Be useful.
All contributions dictatorially edited by webmasters to match personal tastes.
Please do not paste any copyright violating material.
Please try to avoid dependencies to third-party libraries and frameworks.
(doseq [e x]
(f e))
for (auto e : x)
f(e);
foreach(var e in x)
f(e);
x.forEach(f);
for e := range x {
f(e)
}
x.forEach(f);
let v = x.values();
let result = v.next();
while (!result.done) {
f(result.value);
result = v.next();
}
for (const e of x) {
f(e);
}
for e in x do f(e);
f($_) for @x;
for e in x:
f(e)
list(map(lambda e: f(e), x))
x.each { |e| f(e) }