[prev in list] [next in list] [prev in thread] [next in thread] 

List:       racket-users
Subject:    [plt-scheme] Graphics Questions
From:       m.douglas.williams () gmail ! com (Doug Williams)
Date:       2007-11-26 1:41:35
Message-ID: dc8cba8f0711251741h60865c77mf5412f295a615a4f () mail ! gmail ! com
[Download RAW message or body]

Thanks, that works great.  Now I just have to figure out why.  Seems I have
some reading to do.  :)

Doug

On Nov 25, 2007 6:01 PM, Matthew Flatt <mflatt at cs.utah.edu> wrote:

> At Sun, 25 Nov 2007 17:52:54 -0700, "Doug Williams" wrote:
> > I get an error "continuation application: attempt to cross a
> continuation
> > barrier".  I assume MrEd is using threads or other elements that cause
> the
> > continuation barrier.
>
> Yes.
>
> > Does anyone have a suggestions?
>
> Delimited continuations. Wrap the body of your callback in
> `call-with-continuation-prompt':
>
>   (call-with-continuation-prompt
>     (lambda ()
>       (if *break*
>           (begin
>             (set! *break* #f)
>             (*continue*))
>           (test-run))))
>
>
> Matthew
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20071125/256ea629/attachment.html>

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic