clojure.core/update-in¶
'Updates' a value in a nested associative structure, where ks is a sequence of keys and f is a function that will take the old value and any supplied args and return the new value, and returns a new nested structure. If any levels do not exist, hash-maps will be created.
Examples¶
See also¶
- clojure.core/assoc-in (7)
- clojure.core/get-in (5)
- clojure.core/fnil (1)
- clojure.core/update (6)
- clojure.core/associative?
Content from the matching ClojureDocs page, with authors credited on each contribution.