[Maxima] proposal to modify op and args
Donna and Dan Stanger
dan.stanger at ieee.org
Mon May 8 19:12:31 CDT 2006
The commercial Macsyma produces an error for both op and args of an atom.
Since code which can pass in non op expressions needs to check for this,
returning false is probably ok. However it will break code which is
an error. It would be nice if there was some way to find places which were
translated into lisp, or perhaps compiled to help those without source.
Robert Dodier wrote:
> At present the functions op and args barf on atoms.
> I propose that op and args return false when the argument is an atom.
> This change is intended to obviate the need to always test whether
> the argument is an atom before calling op or args.
> I looked at the commercial Macsyma documentation, but it didn't
> say what op and args do when the argument is an atom.
> Robert Dodier
More information about the Maxima