ClojureDocs

Nav

Namespaces

assoc-in

clojure.core

Available since 1.0 (source)
  • (assoc-in m [k & ks] v)
Associates a value in a nested associative structure, where ks is a
sequence of keys and v is the new value and returns a new nested structure.
If any levels do not exist, hash-maps will be created.