Fix typo in readme

* README.md: fix an example so that it actualy works.
This commit is contained in:
Linus 2021-09-25 21:31:48 +02:00
parent f5a3629b56
commit 88f138849e

View file

@ -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))