<html><head><base href="x-msg://1580/"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><br></div><div>No. A continuation represents the __control state__ of a program NOT the __memory state__. Since your program can change the memory state while the continuation is stored, and since the continuation may reference the memory state once it is thrown, there is no way to guarantee the exact same outcome in general. </div><div><br></div><div>People have experimented with call-with-current-store so that they can capture the store and re-install it, especially for continuation launches. The SML/NSJ debugger worked like this but in general it is not practical. </div><div><br></div><div>-- Matthias</div><div><br></div><div><br></div><br><div><div>On Sep 5, 2012, at 5:39 PM, Harry Spier wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; font-family: 'Lucida Grande'; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div bgcolor="#ffffff"><div><font size="2" face="Arial">Thanks Daniel but the question I was trying to find out was:</font></div><div><font size="2" face="Arial">Is there a way to save any valid continuation and be guaranteed that nothing that happens in the program between the time the continuation was saved and the time the saved continuation was invoked will alter the results of invoking the continuation.</font></div><div><font size="2" face="Arial"></font> </div><div><font size="2" face="Arial">Harry</font></div><div><font size="2" face="Arial">---------------------</font></div><div><font size="2" face="Arial">D. Herring wrote:</font></div><div><font size="2" face="Arial">Does an extra (let ...) do what you want, or do you want new bindings for *all* variables that are used in the continuation?</font></div>____________________<br> Racket Users list:<br> <a href="http://lists.racket-lang.org/users">http://lists.racket-lang.org/users</a><br></div></span></blockquote></div><br></body></html>