Liking cljdoc? Tell your friends :D

donut.sugar.utils


clj-kvarclj/s

(clj-kvar var-name)

Given a namespaced keyword, look up the corresponding var in clj compilation or return a keyword in cljs compilation.

Given a namespaced keyword, look up the corresponding var in clj compilation or
return a keyword in cljs compilation.
raw docstring

ent-typeclj/s

(ent-type x y)

add ent-type metadata to obj. ent-type should be a keyword.

add ent-type metadata to obj. ent-type should be a keyword.
raw docstring

fmtclj/s


key-byclj/s

(key-by k xs)

ksubsclj/s

(ksubs k)

full string representation of a keyword: :x/y => "x/y" :y => "y"

full string representation of a keyword:
:x/y => "x/y"
:y => "y"
raw docstring

slashclj/s

(slash name)

replace dots with slashes in namespace to create a string that's route-friendly

replace dots with slashes in namespace to create a string that's
route-friendly
raw docstring

strkclj/s

(strk & xs)

Like str but with keywords

Like `str` but with keywords
raw docstring

update-valsclj/s

(update-vals x update-map)

Takes a map to be updated, x, and a map of {[k1 k2 k3] update-fn-1 [k4 k5 k6] update-fn-2} such that such that k1, k2, k3 are updated using update-fn-1 and k4, k5, k6 are updated using update-fn-2

Takes a map to be updated, x, and a map of
{[k1 k2 k3] update-fn-1
 [k4 k5 k6] update-fn-2}
such that such that k1, k2, k3 are updated using update-fn-1
and k4, k5, k6 are updated using update-fn-2
raw docstring

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

× close