1
0
mirror of https://github.com/janet-lang/janet synced 2024-11-24 17:27:18 +00:00

Update src/boot/boot.janet

Agreed. That's more clear.

Co-authored-by: Michael Camilleri <mike@inqk.net>
This commit is contained in:
John Gabriele 2020-11-29 14:30:26 -05:00 committed by GitHub
parent e706494893
commit 82eff7e082
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -494,7 +494,7 @@
(error (string "unexpected loop verb " verb))))) (error (string "unexpected loop verb " verb)))))
(defmacro forv (defmacro forv
`Do a C-style for loop for side effects. The iteration variable i ``Do a C-style for-loop for side effects. The iteration variable `i`
can be mutated in the loop, unlike normal for. Returns nil.` can be mutated in the loop, unlike normal for. Returns nil.`
[i start stop & body] [i start stop & body]
(for-var-template i start stop 1 < + body)) (for-var-template i start stop 1 < + body))