in reply to Re: Re: Re: (Perl6) Groking Continuations
in thread (Perl6) Groking Continuations
So the (real) continuation (saved in a global variable) could be called even after the body of call_cc returned?
I see. If the function call activation frames are treated just like everything else, and there is no special action for "going out of scope", keeping a live reference to it is just like any other closure.
In Perl 6 we'll have to watch it because of the mechanism for having block-exit code in a finally clause or added dynamically by a caller. What would that do, if one can exit more times than enter?! (I have some ideas of what it should mean, but that's for another thread)
—John
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: Re: Re: Re: (Perl6) Groking Continuations
by Elian (Parson) on Apr 11, 2003 at 22:55 UTC | |
by John M. Dlugosz (Monsignor) on Apr 17, 2003 at 19:40 UTC |
In Section
Seekers of Perl Wisdom