Liking cljdoc? Tell your friends :D

std.pretty.compare


compareclj

(compare a b)

compares any two values

(compare 1 :hello) => -1

(compare {:a 1} 3) => 1

compares any two values

(compare 1 :hello)
=> -1

(compare  {:a 1} 3)
=> 1
raw docstring

compare-seqsclj

(compare-seqs compare xs ys)

compares two sequences

(compare-seqs compare [1 2 3] [4 5 6]) => -1

compares two sequences

(compare-seqs compare [1 2 3] [4 5 6])
=> -1
raw docstring

type-priorityclj

(type-priority x)

creates a compareed list of items in an uncompareed collection

(type-priority 1) => 3

(type-priority :hello) => 6

(type-priority {}) => 11

creates a compareed list of items in an uncompareed collection

(type-priority 1) => 3

(type-priority :hello) => 6

(type-priority {}) => 11
raw docstring

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

× close