如果能 {{assoc-in}} 支持多个键到值的对就好了(并且当参数数量为偶数时抛出错误,就像 {{assoc}} 一样)
user=> (assoc-in {} [:a :b] 1 [:c :d] 2)
{:a {:b 1}, :c {:d 2}}
user=> (assoc-in {} [:a :b] 1 [:c :d])
IllegalArgumentException:assoc-in 期待在 map/vector 后有偶数个参数,但找到奇数个
*补丁:* clj-1771.patch
*预审者:* Alex Miller