<div>hello </div><div>I am thinking of such a code like..</div><div>#lang scheme</div><div>(require racket/gui)</div><div>(let ([v (let/ec out</div><div> (dynamic-wind</div><div> (lambda () (display "in "))</div>
<div> (lambda ()</div><div> (display "pre ")</div><div> (display (call/cc out))</div><div> #f)</div><div> (lambda () (display "out "))))])</div>
<div> (when v (v "post ")))</div><div><br></div><div>but I still have no idea how </div><div>"in pre out in post out " is printed but not "in pre out in pre post out "</div><div>how does call/cc and let/ec exactly works?</div>
<div><br></div>