user=> (sorted-set 3 2 1) #{1 2 3} user=> (sorted-set 3 2 1 1) #{1 2 3}
Returns a new sorted set with supplied keys, using the supplied compa
sc must be a sorted collection, test(s) one of <, <=, > or >=. Retu
keyval => key val Returns a new sorted map with supplied mappings.
(defn sorted-set "Returns a new sorted set with supplied keys." {:added "1.0" :static true} ([& keys] (clojure.lang.PersistentTreeSet/create keys)))
Comments top
No comments for sorted-set. Log in to add a comment.