Liking cljdoc? Tell your friends :D

helins.interval.map

Dedicated to interval maps.

Unlike an interval set which simply keeps tracks of intervals, an interval map is about mapping those intervals to sets of arbitrary values.

See README for overview and glossary.

Dedicated to interval maps.

Unlike an interval set which simply keeps tracks of intervals, an interval map is about mapping
those intervals to sets of arbitrary values.

See README for overview and glossary.
raw docstring

by-valueclj/s

(by-value segments)

Classifies segments by value.

Returns a map of value -> set of intervals.

Classifies segments by value.

Returns a map of value -> set of intervals.
sourceraw docstring

emptyclj/s

Empty interval map.

Empty interval map.
sourceraw docstring

eraseclj/s

(erase imap from to value)

In imap, in interval [from to] (if it exists), removes value.

Other values for that interval (if it exists) remain.

In `imap`, in interval `[from to]` (if it exists), removes `value`.

Other values for that interval (if it exists) remain.
sourceraw docstring

markclj/s

(mark imap from to value)

In imap, establishes an interval [from to] pointing to value.

A same interval can point to more than one value.

In `imap`, establishes an interval `[from to]` pointing to `value`.

A same interval can point to more than one value.
sourceraw docstring

unionclj/s

(union segments)

Given segments of values, returns a set of unique values.

Given segments of values, returns a set of unique values.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close