2 ms·We are discussing mutation in the loop itself, but sure: for(int x: container) { yield frob(x); }by gpderetta 1y agoWe are discussing mutation in the loop itself, but sure: for(int x: container) { yield frob(x); }