Same as previous commit.

I forgot to edit the documentation for down-to.
This commit is contained in:
Linus 2021-03-18 12:46:07 +01:00
parent 78aed79463
commit 524933d29f
2 changed files with 2 additions and 2 deletions

View file

@ -236,7 +236,7 @@
</syntax>
<syntax name="down-from">
<form>(:for binding (down-from start [(to bound)] [(by step)])</form>
<form>(:for binding (down-from start [(:to bound)] [(:by step)])</form>
<form>(:for binding (down-from start [bound [by]]))</form>
Binds `binding` to the number `(- start 1)` down to `bound` (inclusive!) by `step`. If no `bound` is given, it will yield values indefinitely. The second shorter form will not allow unbounded iteration if a `step` other than `1` is wanted.