Thanks, that works great. Now I just have to figure out why. Seems I have some reading to do. :)<br><br>Doug<br><br><div class="gmail_quote">On Nov 25, 2007 6:01 PM, Matthew Flatt <<a href="mailto:mflatt@cs.utah.edu">
mflatt@cs.utah.edu</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="Ih2E3d">At Sun, 25 Nov 2007 17:52:54 -0700, "Doug Williams" wrote:
<br>> I get an error "continuation application: attempt to cross a continuation<br>> barrier". I assume MrEd is using threads or other elements that cause the<br>> continuation barrier.<br><br></div>Yes.
<br><div class="Ih2E3d"><br>> Does anyone have a suggestions?<br><br></div>Delimited continuations. Wrap the body of your callback in<br>`call-with-continuation-prompt':<br><br> (call-with-continuation-prompt<br>
(lambda ()<br><div><div></div><div class="Wj3C7c"> (if *break*<br> (begin<br> (set! *break* #f)<br> (*continue*))<br> (test-run))))<br><br><br></div></div><font color="#888888">
Matthew<br><br></font></blockquote></div><br>