On Mon, Jan 02, 2017 at 05:24:47PM +0100, Daniele Varrazzo wrote:
> > Can said sequence be a generator (IOW not needing to support
> > len() upfront) ?
>
> Correct: see the implementation of paginate() in the gist at
> <https://gist.github.com/dvarrazzo/4204cca5d1cd7c9c95bc814d81e6b83e>:
> the sequence is only consumed via next().
Ah, missed that, sorry.
Great work,
Karsten
--
GPG key ID E4071346 @ eu.pool.sks-keyservers.net
E167 67FD A291 2BEA 73BD 4537 78B9 A9F9 E407 1346