mirror of
https://github.com/janet-lang/janet
synced 2024-12-25 07:50:27 +00:00
update each
keys before body
This commit is contained in:
parent
43a6a70e1e
commit
2f178963c0
@ -436,8 +436,8 @@
|
||||
:each ~(,in ,ds ,k)
|
||||
:keys k
|
||||
:pairs ~[,k (,in ,ds ,k)]))
|
||||
,;body
|
||||
(set ,k (,next ,ds ,k))))))
|
||||
(set ,k (,next ,ds ,k))
|
||||
,;body))))
|
||||
|
||||
(defn- iterate-template
|
||||
[binding expr body]
|
||||
|
Loading…
Reference in New Issue
Block a user