error message



On 8/23/09, Barton Willis <willisb at unk.edu> wrote:

> You can experiment with this solution:
>
> ----file myratsimp.lisp--------------
> #$ mratsimp(e,[v]) := ?mratsimp(e, ?margs(v)); #$
>
> (defmfun mratsimp (e vars)
>   (cond ((not (null vars))
>   (let (varlist)
>     (joinvarlist vars)
>     (fullratsimp e)))
>  (t (fullratsimp e))))
> ------------------------------------

I dunno. This is unfortunately not a very satisfying solution,
right? because at best it fixes the number-of-arguments problem
for ratsimp alone. Any other function which expects an arbitrary
list of arguments is going to have the same problem.

Someone suggested hacking the DEFMFUN macro. I guess
then we have to make sure any function which expects an arbitrary
list of arguments is defined via DEFMFUN.

Another tactic would be to build Maxima with the maximum
number of arguments something greater than 64.
I don't know how to convince GCL to do that. Maybe it's even
possible to change the maximum number of arguments at run time.
Or use a different Lisp. I'm guessing the original poster is working
on Windows. If so, Clozure CL and ECL are possibilities, maybe others.

FWIW

Robert Dodier