ClojureDocs

Nav

Namespaces

sorted-map-by

clojure.core

Available since 1.0 (source)
  • (sorted-map-by comparator & keyvals)
keyval => key val
Returns a new sorted map with supplied mappings, using the supplied
comparator.  If any keys are equal, they are handled as if by
repeated uses of assoc.