Liking cljdoc? Tell your friends :D

com.timezynk.useful.map


filter-fieldsclj

(filter-fields fields)

id-mapclj

(id-map coll)

index-byclj

(index-by f coll)

into-setclj

(into-set entries)

into-vecclj

(into-vec entries)

map->mapclj

(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
raw docstring

unique-valsclj

(unique-vals k & colls)

unwindclj

(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})
```
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close