Subject: Maxima: simplification function error message.
From: Stavros Macrakis
Date: Tue, 11 Sep 2007 13:34:20 -0400
On 9/11/07, Stavros Macrakis <macrakis at alum.mit.edu> wrote:
> ...When we eventually move to a LIsp-string based implementation,
> this problem will go away.
We could also not intern symbols being used as strings. This would
require some changes to the routines that handle operator symbols like
"+" etc.
In the meantime, a workaround for the length(string(...)) problem is
the following:
expr_string_length(ex):= block([s,l], l:slength(s: string(ex)),
?unintern(s), l)$
This allows Lisp to garbage-collect the string.
-s