Y
Hacker News
new
|
ask
|
show
|
jobs
by
gpderetta
307 days ago
We are discussing mutation in the loop itself, but sure:
for(int x: container) { yield frob(x); }