user> (sorted-set-by > 3 5 8 2 1) #{8 5 3 2 1}
Returns a new sorted set with supplied keys.
(defn sorted-set-by "Returns a new sorted set with supplied keys, using the supplied comparator." {:added "1.1" :static true} ([comparator & keys] (clojure.lang.PersistentTreeSet/create comparator keys)))
Comments top
No comments for sorted-set-by. Log in to add a comment.