diff --git a/documentation/doc.html b/documentation/doc.html index 4d2b328..36910ab 100644 --- a/documentation/doc.html +++ b/documentation/doc.html @@ -114,7 +114,7 @@
binding
is a loop variable and can thus be changed using named updates.
(:for binding (up-from start [(:to bound)] [(:by step)]))
(:for binding (up-from start [bound [by]]))
Binds binding
to the number start
up to bound
(exclusive!) 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.
binding
is a loop variable and can thus be changed using named updates.
(:for binding (down-from start [(to bound)] [(by step)])
(:for binding (down-from start [bound [by]]))
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.
(:for binding (down-from start [(:to bound)] [(:by step)])
(:for binding (down-from start [bound [by]]))
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.
binding
is a loop variable and can thus be changed using named updates.
(:for binding [pair] (in-list expr [by])
Binds binding
to the car of the loop variable pair
. pair
is advanced by applying the procedure by
to it (defaulting to cdr
). The iteration stops when pair
is the empty list.
(:for binding [pairs] (in-lists expr [by])
Works the same as in-list
, but expr
must evaluate to a list of lists. binding
is bound to the car of those lists, and they are advanced by by
, defaulting to cdr
.