Signed-off-by: Jim Pryor <profjim@jimpryor.net>
[(atom? (car l)) (begin
(let/cc k2
(set! resume k2) ; now calling resume with val will ignore val
[(atom? (car l)) (begin
(let/cc k2
(set! resume k2) ; now calling resume with val will ignore val
- ; and continue with the second line of (begin ... (walk (cdr l)))
+ ; and continue with the final line of (begin ... (walk (cdr l)))
; when the next line is executed, yield will be bound to k1 or k3
(yield (car l)))
; the previous yield line will never return, but the following line will be executed when resume is called
; when the next line is executed, yield will be bound to k1 or k3
(yield (car l)))
; the previous yield line will never return, but the following line will be executed when resume is called