ClojureDocs

Nav

Namespaces

partition-by

clojure.core

Available since 1.2 (source)
  • (partition-by f coll)
Applies f to each value in coll, splitting it each time f returns
 a new value.  Returns a lazy seq of partitions.