Liking cljdoc? Tell your friends :D

scribe.utils

Generic utility functions.

Generic utility functions.
raw docstring

disqualify-keysclj

(disqualify-keys m)

Removes the namespaces of the keys in m.

Removes the namespaces of the keys in `m`.
raw docstring

disqualify-keywordclj

(disqualify-keyword k)

Removes the namespace from the keyword k.

Removes the namespace from the keyword `k`.
raw docstring

kwargs->mclj

(kwargs->m kwargs)

Rolls kwargs into a plain-old map.

Rolls `kwargs` into a plain-old map.
raw docstring

ns=clj

(ns= ns k)

Does the namespace of the keyword k equal ns?

Does the namespace of the keyword `k` equal `ns`?
raw docstring

qualify-keysclj

(qualify-keys m ns)

Qualifies the keys in m with ns.

Qualifies the keys in `m` with `ns`.
raw docstring

qualify-keywordclj

(qualify-keyword ns k)

Qualifies the keyword k with namespace ns.

Qualifies the keyword `k` with namespace `ns`.
raw docstring

update-someclj

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

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

× close