On May 27, 2012, at 3:11 AM, Cedric Greevey wrote:

> Eh. For general use, that needs to be (partition 100 100 nil calls#)
> in case the total size of the job isn't divisible by 100; otherwise,
> the items after the last exact multiple of 100 will be silently not
> done.

You could use partition-all.

clojure.core/partition-all
([n coll] [n step coll])
  Returns a lazy sequence of lists like partition, but may include
  partitions with fewer than n items at the end.

-- 
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 - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to