Back

unite (clj)

(source)

function

(unite intervals)
Unite concurrent intervals. Intervals must be ordered by beginning but not necessarily disjoint (the purpose of this function is to splice together intervals that are concurrent resulting in a time-ordered sequence of disjoint intervals that is returned.

Examples