[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: So, what the heck is a continuation anyway?
Dan Sugalski wrote:
> At 10:11 AM 12/10/2001 -0500, Jeremy Hylton wrote:
>
>> >>>>> "DS" == Dan Sugalski <dan@sidhe.org> writes:
>>
>> DS> can I get a continuation object/marker from within A and pass it
>> DS> to B, which then triggers it and returns to A even though I've
>> DS> unwound the stack frames for A?
>>
>> Sure.
>>
>> You can invoke the continuation and return through A an arbitrary
>> number of times.
>
>
> Hmmm. That means I need to snapshot the stack frames and the
> scratchpads. Doable.
>
> Dan
>
> --------------------------------------"it's like this"-------------------
> Dan Sugalski even samurai
> dan@sidhe.org have teddy bears and even
> teddy bears get drunk
But not the whole stack...
http://www1.acm.org/pubs/articles/proceedings/pldi/93542/p66-hieb/p66-hieb.pdf
--
Jeffrey Palm --> http://www.cs.colorado.edu/~jdp