Public Vars

Back

partition-by (clj)

(source)

function

(partition-by f) (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. Returns a stateful transducer when no collection is provided.

Examples