Liking cljdoc? Tell your friends :D

contrib.data


-auto-propsclj

(-auto-props ns props defaults-qualified)

qualify any unqualified keys to the current ns and then add qualified defaults

qualify any unqualified keys to the current ns and then add qualified defaults
sourceraw docstring

-omit-keys-nsclj

(-omit-keys-ns ns ?m)
source

assoc-vecclj

(assoc-vec xs k v)
source

auto-propscljmacro

(auto-props props)
(auto-props props defaults-qualified)
(auto-props ns props defaults-qualified)
source

fn->clj

(fn-> f a)
(fn-> f a b)
(fn-> f a b c)
(fn-> f a b c d)
(fn-> f a b c d e)
source

group-by-predclj

(group-by-pred f? xs)
source

has-ns?clj

(has-ns? ns named)

State if a named value (keyword or symbol) has such namespace ns. ns can be be a string, or a non-namespaced keyword or symbol.

State if a `named` value (keyword or symbol) has such namespace `ns`.
`ns` can be be a string, or a non-namespaced keyword or symbol.
sourceraw docstring

indexclj

(index xs)

index a sequential collection into an associative collection with explicit keys. this may not be useful, as vectors are already associative

index a sequential collection into an associative collection with explicit keys. this may not be
useful, as vectors are already associative
sourceraw docstring

index-byclj

(index-by kf xs)
source

keep-ifclj

(keep-if v pred)
source

map-padclj

source

nil-or-empty?clj

(nil-or-empty? x)
source

omit-keys-nscljmacro

(omit-keys-ns ?m)
(omit-keys-ns ns- ?m)
source

orpcljmacro

(orp pred)
(orp pred x)
(orp pred x & next)

clojure.core/or evaluates arguments one by one, returning the first truthy one and so leaving the remaining ones unevaluated. orp does the same but with a custom predicate.

`clojure.core/or` evaluates arguments one by one, returning the first truthy
one and so leaving the remaining ones unevaluated. `orp` does the same but
with a custom predicate.
sourceraw docstring

padclj

(pad zero coll)
(pad n zero coll)
source

padlclj

(padl n zero coll)
source

padl-strclj

(padl-str n zero s)
source

qualifyclj

(qualify ns ?kw)

Qualify a keyword with a namespace. If already qualified, leave kw untouched. Nil-safe. (qualify :db :isComponent) -> :db/isComponent

Qualify a keyword with a namespace. If already qualified, leave kw untouched. Nil-safe.
(qualify :db :isComponent) -> :db/isComponent
sourceraw docstring

round-floorclj

(round-floor n base)
source

select-nsclj

(select-ns ns map)

Like select-keys but select all namespaced keys by ns.

Like `select-keys` but select all namespaced keys by ns.
sourceraw docstring

str-last-nclj

(str-last-n n s)
source

take-uptoclj

(take-upto pred)
source

treelisterclj

(treelister xs)
(treelister xs children-fn keep?)
source

unqualifyclj

(unqualify ?qualified-kw)

Strip namespace from keyword, discarding it and return unqualified keyword. Nil-safe. (unqualify :db.type/ref) -> :ref

Strip namespace from keyword, discarding it and return unqualified keyword. Nil-safe.
(unqualify :db.type/ref) -> :ref
sourceraw docstring

update-existingclj

(update-existing m k f & args)
source

with-padclj

(with-pad reducer zero)
source

xorxsclj

(xorxs xorxs & [zero])

an argument parser that accepts both scalars and collections, lifting scalars into a collection

an argument parser that accepts both scalars and collections, lifting scalars into a collection
sourceraw docstring

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

× close