-----maxima-bounces at math.utexas.edu wrote: -----
>Remark:
>Something like (take '(%log) arg) is unnecessary and perhaps dangerous. We
>have the $-function as a shortcut. In the case of the Log function "take"
>introduces a direct call to simpln.
See SF bug 2031312, "take macro." I've built Maxima with
(defmacro take (operator &rest args)
`(simplifya (list ,operator . ,args) t))
The test suite runs without error in essentially the same run-time, I
think.
The "take" macro should be extended to allow (take '%sin 42) as well as
(take '(%sin) 42).
See also the "opcons" macro in nummod and the opapply macro in
fourier_elim.
Barton