Liking cljdoc? Tell your friends :D

clj-fast.inline


-getclj

(-get m k & nf)
source

-nth2clj

(-nth2 c i)
source

-nth3clj

(-nth3 c i nf)
source

assoccljmacro

(assoc m & kvs)

Like core/assoc but inlines the association to all the arguments.

Like core/assoc but inlines the association to all the arguments.
sourceraw docstring

assoc-incljmacro

(assoc-in m & ksvs)

Like assoc-in but inlines the calls when a static sequence of keys is provided. Can take an unlimited number of [ks v] pairs. Caution: For more than one path-value pair this macro will reorder code.

Like assoc-in but inlines the calls when a static sequence of keys is
provided.
Can take an unlimited number of [ks v] pairs.
Caution:
For more than one path-value pair this macro will reorder code.
sourceraw docstring

dissoccljmacro

(dissoc m & ks)

Like core/assoc but inlines the association to all the arguments.

Like core/assoc but inlines the association to all the arguments.
sourceraw docstring

dissoc-incljmacro

(dissoc-in m ks)

Like update-in but inlines the calls when a static sequence of keys is provided.

Like update-in but inlines the calls when a static sequence of keys is
provided.
sourceraw docstring

fast-assoccljmacro

(fast-assoc m & kvs)

Like assoc but uses fast-assoc instead.

Like assoc but uses fast-assoc instead.
sourceraw docstring

fast-assoc-incljmacro

(fast-assoc-in m & ksvs)

Like assoc-in but inlines the calls when a static sequence of keys is provided. Can take an unlimited number of [ks v] pairs. Caution: For more than one path-value pair this macro will reorder code.

Like assoc-in but inlines the calls when a static sequence of keys is
provided.
Can take an unlimited number of [ks v] pairs.
Caution:
For more than one path-value pair this macro will reorder code.
sourceraw docstring

fast-map-mergecljmacro

(fast-map-merge & [m & ms])

Like merge but uses fast-map-merge instead.

Like merge but uses fast-map-merge instead.
sourceraw docstring

fast-select-keyscljmacro

(fast-select-keys m ks)

Like select-keys but faster and uses code generation. ks must be either vector, list or set.

Like `select-keys` but faster and uses code generation.
`ks` must be either vector, list or set.
sourceraw docstring

fast-update-incljmacro

(fast-update-in m ks f & args)

Like update-in but inlines the calls when a static sequence of keys is provided.

Like update-in but inlines the calls when a static sequence of keys is
provided.
sourceraw docstring

find-some-incljmacro

(find-some-in m ks)

Like get-some-in but returns a map-entry in the end.

Like get-some-in but returns a map-entry in the end.
sourceraw docstring

getcljmacro

(get m k)
(get m k nf)
source

get-incljmacro

(get-in m ks)
(get-in m ks nf)

Like get-in but faster and uses code generation. ks must be either vector, list or set.

Like `get-in` but faster and uses code generation.
`ks` must be either vector, list or set.
sourceraw docstring

get-some-incljmacro

(get-some-in m ks)

Like get-in, but nil-checks every intermediate value.

Like get-in, but nil-checks every intermediate value.
sourceraw docstring

memoize*clj

(memoize* n f)

Memoize using memoize-n functions of up to 8 arguments. Falls back on core/memoize. Faster for keyword and symbols arguments than core/memoize.

Memoize using memoize-n functions of up to 8 arguments. Falls back on
core/memoize. Faster for keyword and symbols arguments than core/memoize.
sourceraw docstring

memoize-c*clj

(memoize-c* n f)

Memoize using memoize-c functions of up to 8 arguments. Falls back on core/memoize. Faster than core memoize. Uses a concurrent-hash-map.

Memoize using memoize-c functions of up to 8 arguments. Falls back on
core/memoize. Faster than core memoize. Uses a concurrent-hash-map.
sourceraw docstring

memoize-h*clj

(memoize-h* n f)

Memoize using memoize-c functions of up to 8 arguments. Falls back on core/memoize. Faster than core memoize. Uses a concurrent-hash-map.

Memoize using memoize-c functions of up to 8 arguments. Falls back on
core/memoize. Faster than core memoize. Uses a concurrent-hash-map.
sourceraw docstring

mergecljmacro

(merge & [m & ms])

Like core/merge but inlines the sequence of maps to conj.

Like core/merge but inlines the sequence of maps to conj.
sourceraw docstring

nthcljmacro

(nth c i)
(nth c i nf)
source

select-keyscljmacro

(select-keys m ks)

Returns a map containing only those entries in map whose key is in keys

Returns a map containing only those entries in map whose key is in keys
sourceraw docstring

tmergecljmacro

(tmerge)
(tmerge m)
(tmerge m1 m2 & ms)

Like merge but uses rmerge! and an intermediate transient map.

Like merge but uses rmerge! and an intermediate transient map.
sourceraw docstring

update-incljmacro

(update-in m ks f & args)

Like update-in but inlines the calls when a static sequence of keys is provided.

Like update-in but inlines the calls when a static sequence of keys is
provided.
sourceraw docstring

update-in->cljmacro

(update-in-> m & ks-exprs)

Like update-in but inlines the calls when a static sequence of keys is provided. Can take an unlimited number of [ks exprs] pairs. Unlike update-in, expressions are not & args, i.e.: (update-in-> m [:a :b] f [:a :c] (g 1)) The expr must be a seq? or a symbol.

Like update-in but inlines the calls when a static sequence of keys is
provided.
Can take an unlimited number of [ks exprs] pairs.
Unlike update-in, expressions are not & args, i.e.:
(update-in-> m [:a :b] f [:a :c] (g 1))
The expr must be a `seq?` or a symbol.
sourceraw docstring

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

× close