static A lambdaMapLike applyNTimes(IF1 f, int n, A a) { repeat n { a = f.get(a); } ret a; }