scribe.utils
Generic utility functions.
disqualify-keys
(disqualify-keys m)
Removes the namespaces of the keys in `m`.
disqualify-keyword
(disqualify-keyword k)
Removes the namespace from the keyword `k`.
kwargs->m
(kwargs->m kwargs)
Rolls `kwargs` into a plain-old map.
ns=
(ns= ns k)
Does the namespace of the keyword `k` equal `ns`?
qualify-keys
(qualify-keys m ns)
Qualifies the keys in `m` with `ns`.
qualify-keyword
(qualify-keyword ns k)
Qualifies the keyword `k` with namespace `ns`.
update-some
(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.