Liking cljdoc? Tell your friends :D

me.lsund.util


allclj

(all xs)
source

anyclj

(any xs)
source

comp+cljmacro

(comp+ & args)
source

constclj

(const x & _)

Always return the first argument, discard the rest.

Always return the first argument, discard the rest.
sourceraw docstring

flipclj

(flip f x y)
source

glob->regexclj

(glob->regex s)

takes a glob-format string and returns a regex.

takes a glob-format string and returns a regex.
sourceraw docstring

select-keys-with-nilclj

(select-keys-with-nil m ks)

The result of (select-keys m ks) but if an element is present in ks but not in m, add it with value nil. Order is not necessarily retained.

Example: (select-keys-with-nil m [:a :b :d]) => {:b 2, :d nil, :a 1}

The result of `(select-keys m ks)` but if an element is present
in ks but not in m, add it with value nil. Order is not necessarily
retained.

Example:
(select-keys-with-nil m [:a :b :d])
 => {:b 2, :d nil, :a 1}
sourceraw docstring

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

× close