static ItIt takeFirstI(int n, Iterator i) { ret iff(() -> n-- <= 0 || !i.hasNext() ? endMarker() : i.next()); }