Execute the following call/cc expression
问题 I use racket and I got the result 4 for following simple code: (let/cc done ((let/cc esc (done (+ 1 (let/cc k (esc k))))) 3)) and I was going to execute this code step-by-step. First, I changed the first let/cc into the form of call/cc like below: (call/cc (λ (done) ((let/cc esc (done (+ 1 (let/cc k (esc k))))) 3))) Of course, this produces 4 also. Second, since I found the mechanism of call/cc in the internet which says call/cc do following 4 steps: Captures the current continuation.