@rkuhn I understand the thought, but find it non-trivial to implement. I wonder if that is strictly needed? Comparing to grouped(n):
"groups of the given size, with the last group possibly smaller than requested due to end-of-stream"