ClojureDocs

导航

命名空间

partition-all

clojure.core

1.2 中新增 ()
  • (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.