static Pair firstAndLastElement(L l) { ret pair(first(l), last(l)); }