Atomically sets the metadata for a namespace/var/ref/agent/atom to be:
(apply f its-current-meta args)
f must be free of side-effects
(defn alter-meta!
"Atomically sets the metadata for a namespace/var/ref/agent/atom to be:
(apply f its-current-meta args)
f must be free of side-effects"
{:added "1.0"}
[^clojure.lang.IReference iref f & args] (.alterMeta iref f args))
Comments top
No comments for alter-meta!. Log in to add a comment.