Fix typo in readme
* README.md: fix an example so that it actualy works.
This commit is contained in:
parent
f5a3629b56
commit
88f138849e
1 changed files with 1 additions and 1 deletions
|
|
@ -71,7 +71,7 @@ If you have no "final expression", denoted by => expr, one is added that returns
|
||||||
You can of course still have a larger control of when to loop by naming your loop:
|
You can of course still have a larger control of when to loop by naming your loop:
|
||||||
|
|
||||||
``` scheme
|
``` scheme
|
||||||
(loop loopy-loop ((:for a (up-from 1 (to 11))))
|
(loop loopy-loop ((:for a (up-from 1 (:to 11))))
|
||||||
=> '()
|
=> '()
|
||||||
(if (odd? a)
|
(if (odd? a)
|
||||||
(cons (* a (- a)) (loopy-loop))
|
(cons (* a (- a)) (loopy-loop))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue