static L produceN(O f, int n) { new L l; for i to n: l.add(callF(f)); ret l; }