Seems to me that this is a flaw in the context system -- it should not be
necessary to go to such trouble to make recursive contexts work correctly.
-s
On Mon, Jul 2, 2012 at 3:11 AM, J?rome Laurens <
jerome.laurens at u-bourgogne.fr> wrote:
>
> Le 29 juin 2012 ? 19:50, Stavros Macrakis a ?crit :
>
> Not sure I understand why you need multiple context names for this. Can't
> you use the same context name if you kill it when you're done?
>
>
> When the contexts can't be shared, we must be sure that there are no name
> conflicts.
> For example, if functionA calls functionB, and they share the same context,
> then functionB cannot kill the context when called from functionA,
> but can kill it when called from the main program flow.
> To simplify the code, each function has its own context and kill it when
> done.
> When functionA calls itself, we see that the context name must differ at
> each call.
>
> J?r?me
>
>
> _______________________________________________
> Maxima mailing list
> Maxima at math.utexas.edu
> http://www.math.utexas.edu/mailman/listinfo/maxima
>
>