Liking cljdoc? Tell your friends :D

eva.datastructures.utils.comparators


boundclj

(bound f)
source

bound-aboveclj

(bound-above f)
source

bound-belowclj

(bound-below f)
source

bounded-comparatorclj

(bounded-comparator cmp)

Bounds a comparator above and below with UPPER and LOWER.

Bounds a comparator above and below with UPPER and LOWER.
sourceraw docstring

bounded-comparator-aboveclj

(bounded-comparator-above cmp)

Bounds a comparator above with UPPER.

Bounds a comparator above with UPPER.
sourceraw docstring

bounded-comparator-belowclj

(bounded-comparator-below cmp)

Bounds a comparator below with LOWER.

Bounds a comparator below with LOWER.
sourceraw docstring

bounded-proj-comparatorcljmacro

(bounded-proj-comparator & fs)

analogy: seq-comparator : bounded-seq-comparator :: proj-comparator : bounded-proj-comparator

analogy:
seq-comparator : bounded-seq-comparator :: proj-comparator : bounded-proj-comparator
sourceraw docstring

bounded-seq-comparatorcljmacro

(bounded-seq-comparator & fs)

Wraps the 'inner' comparators passed to create a seq-comparator using bounded-comparator. Additionally, the outer comparator is wrapped as well. eg: ((bounded-seq-comparator compare compare) [1 2] [1 UPPER]) => -1 ((bounded-seq-comparator compare compare) UPPER [1 UPPER]) => 1

Wraps the 'inner' comparators passed to create a seq-comparator using bounded-comparator.
Additionally, the outer comparator is wrapped as well.
eg: ((bounded-seq-comparator compare compare) [1 2] [1 UPPER]) => -1
    ((bounded-seq-comparator compare compare) UPPER [1 UPPER]) => 1
sourceraw docstring

defcomparatorcljmacro

(defcomparator name fun)
source

IBoundedComparatorcljprotocol

bounded-above?clj

(bounded-above? this)

bounded-below?clj

(bounded-below? this)

bounded-comparator?clj

(bounded-comparator? this)
source

LOWERclj

source

remove-boundsclj

(remove-bounds cmp)
source

UPPERclj

source

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

× close