(filter-fields fields)
(id-map coll)
(index-by f coll)
(into-set entries)
(into-vec entries)
(map->map proto)
Recursively copy a map-like object into a vanilla clojure map
Recursively copy a map-like object into a vanilla clojure map
(unique-vals k & colls)
(unwind k m)
Sequence of maps, each of which replaces the sequential collection under k
with one item out of that collection.
nil
if there is no sequantial collection under k
.
Example:
=> (unwind {:x 42 :y [:a :b :c]} :y)
({:x 42 :y :a} {:x 42 :y :b} {:x 42 :y :c})
Sequence of maps, each of which replaces the sequential collection under `k` with one item out of that collection. `nil` if there is no sequantial collection under `k`. **Example:** ``` clj => (unwind {:x 42 :y [:a :b :c]} :y) ({:x 42 :y :a} {:x 42 :y :b} {:x 42 :y :c}) ```
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close