Liking cljdoc? Tell your friends :D

c3kit.apron.corec

Common core code. This file should have minimal dependencies. Clients should be able to safely :refer :all from this namespace.

Common core code.  This file should have minimal dependencies.
Clients should be able to safely :refer :all from this namespace.
raw docstring

->inspectclj/s

(->inspect v)

Insert in threading macro to print the value.

Insert in threading macro to print the value.
raw docstring

->optionsclj/s

(->options options)

Takes keyword argument and converts them to a map. If the args are prefixed with a map, the rest of the args are merged in.

Takes keyword argument and converts them to a map.  If the args are prefixed with a map, the rest of the
args are merged in.
raw docstring

assocvclj/s

(assocv coll i elem)

insert elem into vector at index

insert elem into vector at index 
raw docstring

assocv>>clj/s

(assocv>> i elem coll)

assocv with coll as last param

assocv with coll as last param
raw docstring

concatvclj/s

(concatv & cols)

ensures the seq is a vector after concat-ing

ensures the seq is a vector after concat-ing
raw docstring

conjvclj/s

(conjv col item)

ensures the seq is a vector before conj-ing

ensures the seq is a vector before conj-ing
raw docstring

dissocvclj/s

(dissocv coll i)

removes the item at index i from the vector

removes the item at index i from the vector
raw docstring

dissocv>>clj/s

(dissocv>> i coll)

dissocv with coll as last param

dissocv with coll as last param
raw docstring

ex?clj/s

(ex? e)

Returns true is e is an exception/error for the running platform

Returns true is e is an exception/error for the running platform
raw docstring

ffilterclj/s

(ffilter pred coll)

Same as (first (filter ...)), but faster!

Same as (first (filter ...)), but faster!
raw docstring

for-allclj/smacro

(for-all bindings body)

formatsclj/s

(formats format & args)

Platform agnostic string format fm

Platform agnostic string format fm
raw docstring

index-ofclj/s

(index-of e coll)

Returns the index of e (using =) in the seq. nil if missing.

Returns the index of e (using =) in the seq. nil if missing.
raw docstring

nandclj/smacro

(nand)
(nand x & next)

Same as (not (and ...))

Same as (not (and ...))
raw docstring

new-uuidclj/s

(new-uuid)

noopclj/s

(noop & _)

Does nothing

Does nothing
raw docstring

norclj/smacro

(nor)
(nor x & next)

Same as (not (or ...))

Same as (not (or ...))
raw docstring

remove-nilsclj/s

(remove-nils e)

Return a map where all the keys with nil values are removed

Return a map where all the keys with nil values are removed
raw docstring

removevclj/s

(removev pred col)

removev=clj/s

(removev= col item)

rsortclj/s

(rsort coll)
(rsort comp coll)

Same as sort, but reversed

Same as sort, but reversed
raw docstring

rsort-byclj/s

(rsort-by keyfn coll)
(rsort-by keyfn comp coll)

Same as sort-by, but reversed

Same as sort-by, but reversed
raw docstring

xorclj/smacro

(xor)
(xor x)
(xor x y & next)

Evaluates expressions one at a time, from left to right. If a second form evaluates to logical true, xor returns nil and doesn't evaluate any of the other expressions, otherwise it returns the value of the first logical true expression. If there are no truthy expressions, xor returns nil.

Evaluates expressions one at a time, from left to right.
If a second form evaluates to logical true, xor returns nil
and doesn't evaluate any of the other expressions, otherwise
it returns the value of the first logical true expression.
If there are no truthy expressions, xor returns nil.
raw docstring

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

× close