[Maxima] function arguments and gensym
Michel Van den Bergh
michel.vandenbergh at uhasselt.be
Sat Jan 13 05:25:33 CST 2007
> The function arguments may have very different bindings:
> as a function, as an array, property list, etc.
Yes this is very confusing. I have added another section to my
wiki article (http://maxima.sourceforge.net/wiki/index.php/LexicalLayer)
which discusses the behaviour of arrays versus lists passed as an argument
to a function. Briefly (using identical syntax) array elements seem to
be passed by value
and list elements by reference. While I now understand this can be
explained somewhat rationally it is still needlessly confusing, and
from what people will expect (except perhaps for people with an indepth
knowledge of lisp).
More information about the Maxima