API for clojure.algo.generic.comparison
-
by Konrad Hinsen
Full namespace name:
clojure.algo.generic.comparison
Overview
Generic comparison interface
This library defines generic versions of = not= < > <= >= zero?
as multimethods that can be defined for any type. Of the
greater/less-than relations, types must minimally implement >.
Public Variables and Functions
max
function
Usage: (max x)
(max x y)
(max x y & more)
Returns the greatest of its arguments. Like clojure.core/max except that
is uses generic comparison functions implementable for any data type.
Source
min
function
Usage: (min x)
(min x y)
(min x y & more)
Returns the least of its arguments. Like clojure.core/min except that
is uses generic comparison functions implementable for any data type.
Source
not=
function
Usage: (not= & args)
Equivalent to (not (= ...)).
Source