(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.
(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
(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`.
(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
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close