Q about arguments scoping in function definition



On 10/8/07, Richard Fateman <fateman at cs.berkeley.edu> wrote:

> The current situation is pretty clear.

Not at all. That's what led us to this discussion.

> Use apply(f,[arg1,arg2, ...]) to be safe.

How about if Maxima never evaluates a function name?
(An idea raised elsewhere in this thread.)
I would be willing to consider that. Never evaluating
function names is easy to explain.

It appears that Maxima never evaluates array names.
Since arrays are just functions on finite domains, in the
interests of consistency Maxima should apply the same
policy to a[k] and a(k). I wouldn't mind changing function
evaluation to match array evaluation.

Robert