ClojureDocs

Nav

Namespaces

partition-all

clojure.core

Available since 1.2 (source)
  • (partition-all n)
  • (partition-all n coll)
  • (partition-all n step coll)
Returns a lazy sequence of lists like partition, but may include
partitions with fewer than n items at the end.  Returns a stateful
transducer when no collection is provided.