Functions of assoc-in
in a specific position
Functions of `assoc-in` in a specific position
(assoc-in-after omap ks v before-ks)
Inserts v
into ks
after before-ks
in omap
.
omap
is a nested associative structure, especially a map that can keep the order: array-map
, ordered-map, etc.
array-map
cannot keep the order when there are many elements, so in that case, please consider using ordered-map
etc.
v
is new value, ks
and before-ks
are sequences of keys.
Inserts `v` into `ks` after `before-ks` in `omap`. `omap` is a nested associative structure, especially a map that can keep the order: `array-map`, [ordered-map](https://github.com/clj-commons/ordered), etc. `array-map` cannot keep the order when there are many elements, so in that case, please consider using `ordered-map` etc. `v` is new value, `ks` and `before-ks` are sequences of keys.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close