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