| Simulation of other Paradigms and Continuations - slide 27 : 43 |
| Context C and the capturing |
(+ 5 (call/cc (lambda (e) (* 4 3)) )) |
(cons 1 (cons 2 (cons 3 (call/cc (lambda (e) '()) )))) |
(define x 5)
(if (= 0 x)
'undefined
(remainder (* (call/cc (lambda (e) (+ x 1)) ) (- x 1)) x)) |