<?xml version="1.0" encoding="windows-1252"?>
<node id="249980" title="Re: Re: Re: Re: (Perl6) Groking Continuations" created="2003-04-11 17:49:45" updated="2005-07-27 15:06:50">
<type id="11">
note</type>
<author id="80322">
John M. Dlugosz</author>
<data>
<field name="doctext">
So the (real) continuation (saved in a global variable) could be called even &lt;I&gt;after&lt;/I&gt; the body of call_cc returned?&lt;P&gt;
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.&lt;P&gt;
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)&lt;P&gt;
&amp;mdash;John</field>
<field name="root_node">
248935</field>
<field name="parent_node">
249925</field>
</data>
</node>
