projects
/
lambda.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
45bb412
)
cps: delta tweak
author
Jim Pryor
<profjim@jimpryor.net>
Tue, 21 Dec 2010 16:02:36 +0000
(11:02 -0500)
committer
Jim Pryor
<profjim@jimpryor.net>
Tue, 21 Dec 2010 16:02:36 +0000
(11:02 -0500)
Signed-off-by: Jim Pryor <profjim@jimpryor.net>
hints/cps_hint_4.mdwn
patch
|
blob
|
history
diff --git
a/hints/cps_hint_4.mdwn
b/hints/cps_hint_4.mdwn
index
13add0a
..
09a45af
100644
(file)
--- a/
hints/cps_hint_4.mdwn
+++ b/
hints/cps_hint_4.mdwn
@@
-40,7
+40,7
@@
This function is developed in *The Seasoned Schemer* pp. 165-177. It accepts a l
(let ([fst (let/cc k1 (begin
(set! yield k1) ; now calling yield with val will bind fst to val and continue with the (cond ...) block below
(walk lst)
- ; the next line will be executed
only when lst contains no atoms
+ ; the next line will be executed
when we've walked to the end of lst
(yield '())))])
(cond
[(atom? fst) (check fst)]