Greetings! Yes we've discussed this in connection with ANSI
compliance. Currently, GCL has a max of 64 arguments. This is in
fact ANSI compliant -- implementations can define such a maximum
within a certain range, which covers 64, We had discussed integrating
libffi(?) to support an arbitrarily large number of arguments, as
axiom as well needed a workaround in one place, but the feedback we
received from the axiom people was that this was very low priority.
You cn always use something like:
(defun maxl (l)
(cond ((atom l) nil)
((null (cdr l)) (car l))
(t (max (car l) (maxl (cdr l))))))
Take care,
Andrej Vodopivec <andrej.vodopivec@fmf.uni-lj.si> writes:
> Na 1095389385, 2004-09-17 ob 04:49, je James Amundson napisal(a):
>
> > Please test and then tell me that we are ready to release 5.9.1. (I
> > suppose problems should be reported, too...)
>
> Maxima build with gcl has a strange limit on the number of arguments to
> functions. This causes problems for some commands:
>
> -----
> (%i1) l : makelist(i,i,1,100)$
> (%i2) apply(max, l);
>
> Maxima encountered a Lisp error:
>
> Error in MACSYMA-TOP-LEVEL [or a callee]: MACSYMA-TOP-LEVEL [or a
> callee] requires less than one hundred arguments.
>
> Automatically continuing.
> To reenable the Lisp debugger set *debugger-hook* to nil.
>
> (%i3) build_info()$
>
> Maxima version: 5.9.0.9rc2cvs
> Maxima build date: 22:51 9/20/2004
> host type: i686-redhat-linux-gnu
> lisp-implementation-type: Kyoto Common Lisp
> lisp-implementation-version: GCL 2.6.5
> -----
>
> This example works in other lisps and in beta2 on windows. It does not
> work in rc1 on windows (same error).
>
> --
> Andrej Vodopivec <andrej.vodopivec@fmf.uni-lj.si>
>
> _______________________________________________
> Maxima mailing list
> Maxima@www.math.utexas.edu
> http://www.math.utexas.edu/mailman/listinfo/maxima
>
>
>
--
Camm Maguire camm@enhanced.com
==========================================================================
"The earth is but one country, and mankind its citizens." -- Baha'u'llah