ClojureDocs

导航

命名空间

sorted-map-by

clojure.core

1.0 版起可用 (源代码)
  • (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.