Liking cljdoc? Tell your friends :D

vvvvalvalval.supdate.impl


comp1clj/s

(comp1)
(comp1 f)
(comp1 a b)
(comp1 a b c)
(comp1 a b c d)
(comp1 a b c d e & rest)

ad-hoc composition of 1-arity fns, faster than clojure.core/comp.

ad-hoc composition of 1-arity fns, faster than clojure.core/comp.
sourceraw docstring

comp2clj/s

(comp2)
(comp2 f)
(comp2 f g)
(comp2 f g h)
(comp2 f g h i)
(comp2 f g h i j)
(comp2 f g h i j k)
(comp2 f g h i j k l)
(comp2 f g h i j k l m)
(comp2 f g h i j k l m n & rest)

ad-hoc composition function for map transforms

ad-hoc composition function for map transforms
sourceraw docstring

supd-map*clj/s

(supd-map* f coll)
source

upd!*clj/s

(upd!* m tm k f)

A slightly modified version of update. If map m contains key k, will add (f (get m k)) to the transient map tm.

A slightly modified version of update.
If map `m` contains key `k`, will add
(f (get m k)) to the transient map `tm`.
sourceraw docstring

upd-dynamic!*clj/s

(upd-dynamic!* m tm k f)

A version of upd! where we're not sure f is a function

A version of upd! where we're not sure f is a function
sourceraw docstring

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

× close