tighten code

This commit is contained in:
nathanmarz 2017-07-24 13:02:19 -04:00
parent dbae629472
commit 03e686cd9c

View file

@ -970,7 +970,7 @@
(let [newi (next-fn vals i)]
(if (= newi i)
structure
(let [v (select-any (nthpath i) structure)]
(let [v (nth structure i)]
(if (vector? structure)
(let [shifted (if (< newi i)
(loop [j (dec i)