(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