static L padList(L l, int w, A a default null) { if (l(l) >= w) ret l; L x = cloneList(l); while (l(x) < w) x.add(a); ret x; }