Liking cljdoc? Tell your friends :D

io.trosa.toolbox.intervals

Function intended to work with intervals

Function intended to work with intervals 
raw docstring

merge-overlapping-intervalsclj

(merge-overlapping-intervals interval-seq)

Given a list of intervals, merge all the overlapping intervals into one.

Example:

(merge-overlapping-intervals [[1 3] [2 4] [6 8] [9 10]]) ;; => [[1 4] [6 8] [9 10]]

Given a list of intervals, merge all the overlapping intervals into one.

Example:

  (merge-overlapping-intervals [[1 3] [2 4] [6 8] [9 10]])
  ;; => [[1 4] [6 8] [9 10]]
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close