assoc-in

函数

(assoc-in m ks v)

(assoc-in m ks v) — map with v placed at the nested key path ks;

missing intermediate levels are created as empty maps.