assoc-in loops over the args, calling assoc for each key. If given a single key,
just call assoc directly instead for performance and readability improvements.
Examples:
; bad (assoc-in coll [:k] 10)
; good (assoc coll :k 10)
`assoc-in` loops over the args, calling `assoc` for each key. If given a single key, just call `assoc` directly instead for performance and readability improvements. Examples: ; bad (assoc-in coll [:k] 10) ; good (assoc coll :k 10)
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |