Returns the least of its arguments. Like clojure.core/min except that
is uses generic comparison functions implementable for any data type.
(defn min "Returns the least of its arguments. Like clojure.core/min except that is uses generic comparison functions implementable for any data type." ([x] x) ([x y] (if (< x y) x y)) ([x y & more] (reduce min (min x y) more)))
Comments top
No comments for min. Log in to add a comment.