On 2012-07-05, Jorge Calvo <Jorge.Calvo at avemaria.edu> wrote:
> I am trying to define a function which would take the name of another
> function as a parameter and use it somehow.
> However, if f(x) is defined globally, then my testfun uses the global
> function and not the one indicated by the parameter:
Maxima's treatment of array and function names has always driven me
crazy. It ought to be consistent; either always using the value, or
never. I vote for always.
> I have fixed this by using apply instead:
Yes, that's a suitable solution.
best
Robert Dodier