(ordered-map)
(ordered-map coll)
(ordered-map k v & more)
Return a map with the given keys and values, whose entries are sorted in the order that keys are added. assoc'ing a key that is already in an ordered map leaves its order unchanged. dissoc'ing a key and then later assoc'ing it puts it at the end, as if it were assoc'ed for the first time. Supports transient.
Return a map with the given keys and values, whose entries are sorted in the order that keys are added. assoc'ing a key that is already in an ordered map leaves its order unchanged. dissoc'ing a key and then later assoc'ing it puts it at the end, as if it were assoc'ed for the first time. Supports transient.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close