1
0
mirror of https://github.com/janet-lang/janet synced 2025-07-04 19:12:55 +00:00

Remove outer form from loop.

This commit is contained in:
Calvin Rose 2018-12-05 11:25:36 -05:00
parent bf4dd0da99
commit 484597eaae

View File

@ -386,7 +386,7 @@
subloop subloop
(tuple := $yieldval (tuple resume $fiber))))) (tuple := $yieldval (tuple resume $fiber)))))
(error (string "unexpected loop verb: " verb))))))) (error (string "unexpected loop verb: " verb)))))))
(tuple 'do (doone 0 nil) nil)) (doone 0 nil))
(defmacro seq (defmacro seq
"Similar to loop, but accumulates the loop body into an array and returns that. "Similar to loop, but accumulates the loop body into an array and returns that.