Changes each-template to update the iteration key after bindings and before the body, rather than after the body. As the iteration key is not exposed to the body, I believe this has no consequence, other than to resolve the linked issue.
(let [t @{1 true 2 true 3 true 4 true}]
(eachk k t
(when (even? k)
(put t k nil)))
t)
Fixes #1220
Changes
each-template
to update the iteration key after bindings and before the body, rather than after the body. As the iteration key is not exposed to the body, I believe this has no consequence, other than to resolve the linked issue.master:
branch: