Liking cljdoc? Tell your friends :D

oskarkv.utils.impl


define-ordinal-functionsclj/smacro

(define-ordinal-functions)

Defines functions third, fourth, ..., tenth to get those elements from a collection. Also defines firstv, secondv, ..., tenthv to get elements out of vectors, faster than using first, second, etc.

Defines functions third, fourth, ..., tenth to get those elements from
a collection. Also defines firstv, secondv, ..., tenthv to get
elements out of vectors, faster than using first, second, etc.
sourceraw docstring

defprivatedefclj/smacro

(defprivatedef name deffer)

Defines a private version of deffer with the name name.

Defines a private version of `deffer` with the name `name`.
sourceraw docstring

ignore-exceptionclj/smacro

(ignore-exception & forms)

Evaluates forms and if an exception is thrown, instead return nil.

Evaluates `forms` and if an exception is thrown, instead return `nil`.
sourceraw docstring

make-v-and-str-fnscljmacro

(make-v-and-str-fns exceptions & syms)

Defines v and -str versions of already existing functions in syms, like mapv for map, that return vectors and strings instead of seqs. Symbols ending in v or -str can be given in exceptions (a collection) to skip defining that function.

Defines v and -str versions of already existing functions in `syms`,
like `mapv` for `map`, that return vectors and strings instead of
seqs. Symbols ending in v or -str can be given in `exceptions` (a
collection) to skip defining that function.
sourceraw docstring

private-symbolclj/s

(private-symbol sym)

Adds :private true to the metadata of sym.

Adds :private true to the metadata of `sym`.
sourceraw docstring

reversed-reductionsclj/smacro

(reversed-reductions base-fn)

Returns a function that is like a reductions-like base-fn, but reduces from right to left.

Returns a function that is like a `reductions`-like `base-fn`, but
reduces from right to left.
sourceraw docstring

unqualify-symsclj/s

(unqualify-syms syms code)

Returns code but where any occurrence of the symbols in syms has been unqualified.

Returns `code` but where any occurrence of the symbols in `syms` has
been unqualified.
sourceraw docstring

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

× close