ClojureDocs

Nav

Namespaces

Clojure/Conj 2026 — Charlotte, NC — Sept 30 - Oct 2 Learn More & Get Tickets →

alter-meta!

clojure.core

Available since 1.0 (source)
  • (alter-meta! iref f & args)
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