[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: So, what the heck is a continuation anyway?



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