static L listIfLengthEquals(int n, L l) { ret l(l) == n ? l : null; }