Generic utility functions.
Generic utility functions.
(disqualify-keys m)
Removes the namespaces of the keys in m
.
Removes the namespaces of the keys in `m`.
(disqualify-keyword k)
Removes the namespace from the keyword k
.
Removes the namespace from the keyword `k`.
(kwargs->m kwargs)
Rolls kwargs
into a plain-old map.
Rolls `kwargs` into a plain-old map.
(ns= ns k)
Does the namespace of the keyword k
equal ns
?
Does the namespace of the keyword `k` equal `ns`?
(qualify-keys m ns)
Qualifies the keys in m
with ns
.
Qualifies the keys in `m` with `ns`.
(qualify-keyword ns k)
Qualifies the keyword k
with namespace ns
.
Qualifies the keyword `k` with namespace `ns`.
(update-some m k f)
(update-some m k f & kfs)
Updates a key k
with a fn f
in a map m
, if and only if the value in the
map is present.
Updates a key `k` with a fn `f` in a map `m`, if and only if the value in the map is present.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close