On Thu, Feb 16, 2012 at 10:51 -0600, Michael Gardner wrote:
> partition-by is lazy in that it only splits its argument into as many
> subseqs as requested; the subseqs themselves are not lazy. So when you
> partition-by the result of (replace-subseq-with-sentinel [1 2] sentinel
> (range)) and then request the infinite third subseq thereof, partition-by
> won't terminate.

Thanks for the explanation. What would be a good way to ensure that the
subseqeuence are lazy too?
-- 
Wolodja <babi...@gmail.com>

4096R/CAF14EFC
081C B7CD FF04 2BA9 94EA  36B2 8B7F 7D30 CAF1 4EFC

Attachment: signature.asc
Description: Digital signature

Reply via email to