Liking cljdoc? Tell your friends :D

flatland.ordered.map


ordered-mapclj/s

(ordered-map)
(ordered-map coll)
(ordered-map k v & kvs)

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.

Clojure supports transient ordered maps, ClojureScript does not.

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.

  Clojure supports `transient` ordered maps, ClojureScript does not.
source (clj)source (cljs)raw docstring

ordered-map?clj/s

(ordered-map? x)

Returns true if x is a flatland ordered map. Does not include transient variant.

Returns `true` if `x` is a flatland ordered map. Does not include `transient` variant.
source (clj)source (cljs)raw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
←Move to previous article
→Move to next article
Ctrl+/Jump to the search field
× close