Re: No transducer variant of partition?

2016-10-12 Thread Mars0i
Thanks Christophe. Very nice. I may use partition, or something else as the need arises. -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated -

Re: No transducer variant of partition?

2016-10-12 Thread Christophe Grand
;marsh...@logical.net> wrote: > partition-all has a transducer variant, but partition doesn't. Just > curious why. > > The difference between the non-transducer functionalities is that, for > example, (partition-all n coll) will return shorter-than-n stub sequences > at the end of t

No transducer variant of partition?

2016-10-11 Thread Mars0i
partition-all has a transducer variant, but partition doesn't. Just curious why. The difference between the non-transducer functionalities is that, for example, (partition-all n coll) will return shorter-than-n stub sequences at the end of the main output sequence if the (count coll) isn't