defining a function



On Tue, Mar 31, 2009 at 4:16 PM, Sam Steingold <sds at gnu.org> wrote:

> (%i32) g(t):=(%o31);
> (%o32)                                                        g(t) := %o31

Probably what you want is g(t) := ''%o31 (two single quotes, not a
double quote).

Maxima does not evaluate the right hand side of a function definition
(nor the body of a lambda expression).
The right hand side is evaluated just once when the function is called.

Thanks for working on Clisp. I hope Maxima is useful to you.

Robert Dodier