static void removeAllButLast(L l) { if (l(l) > 1) removeSubList(l, 0, l(l)-1); }