Article wrapper
Callouts using co
:
|(let ①loopvar ②((count 1))
|③(if (> count 10)
|④#t
|(⑤loopvar ⑥(+ count 1))))
||
(let ⑦loopvar ⑧((count 1))
|⑨(if (> count 10)
|⑩#t
|(⑪loopvar ⑫(+ count 1))))
||
(let ⑬loopvar ⑭((count 1))
|⑮(if (> count 10)
|⑯#t
|(⑰loopvar ⑱(+ count 1))))
||
(let ⑲loopvar ⑳((count 1))
|⑴(if (> count 10)
|⑵#t
|(⑶loopvar ⑷(+ count 1))))
- ①
This variable controls the loop. It is declared without an initial value, immediately after the
let
operand.- ②
Any number of additional local variables can be defined after the loop variable, just as they can in any other
let
expression.- ③
If you ever want the loop to end, you have to put some sort of a test in it.
- ④
This is the value that will be returned.
- ⑤
Note that you iterate the loop by using the loop variable as if it was a function name.
- ⑥
The arguments to this function are the values that you want the local variables declared in ② to have in the next iteration.
- ⑦
This variable controls the loop. It is declared without an initial value, immediately after the
let
operand.- ⑧
Any number of additional local variables can be defined after the loop variable, just as they can in any other
let
expression.- ⑨
If you ever want the loop to end, you have to put some sort of a test in it.
- ⑩
This is the value that will be returned.
- ⑪
Note that you iterate the loop by using the loop variable as if it was a function name.
- ⑫
The arguments to this function are the values that you want the local variables declared in ② to have in the next iteration.
- ⑬
This variable controls the loop. It is declared without an initial value, immediately after the
let
operand.- ⑭
Any number of additional local variables can be defined after the loop variable, just as they can in any other
let
expression.- ⑮
If you ever want the loop to end, you have to put some sort of a test in it.
- ⑯
This is the value that will be returned.
- ⑰
Note that you iterate the loop by using the loop variable as if it was a function name.
- ⑱
The arguments to this function are the values that you want the local variables declared in ② to have in the next iteration.
- ⑲
This variable controls the loop. It is declared without an initial value, immediately after the
let
operand.- ⑳
Any number of additional local variables can be defined after the loop variable, just as they can in any other
let
expression.- ⑴
If you ever want the loop to end, you have to put some sort of a test in it.
- ⑵
This is the value that will be returned.
- ⑶
Note that you iterate the loop by using the loop variable as if it was a function name.
- ⑷
The arguments to this function are the values that you want the local variables declared in ② to have in the next iteration.