Skip to main content

partition-by

functionv1.2

clojure.core/partition-by

Available in:BBCLJCLJS
(partition-by [f] [f coll])
Applies f to each value in coll, splitting it each time f returns a new value. Returns a lazy seq of partitions. Returns a stateful transducer when no collection is provided.

No examples yet. Be the first to add one!