Hi,
as some people seem to be going over the documentation it might be
relevant that MACROEXPAND does not seem to be documented in 5.9.1:
,----
| (%i1) build_info();
|
|
| Maxima version: 5.9.1
| Maxima build date: 18:10 11/6/2004
| host type: i686-pc-linux-gnu
| lisp-implementation-type: CMU Common Lisp
| lisp-implementation-version: Snapshot 2004-10
|
| (%o1)
| (%i2) ? macroexpand
|
| (%o2) FALSE
`----
The info manual does not seem to document it either if I am to trust
C-c C-a etc. in Jay Belanger's greatly improved maxima modes.
BTW, I came across MACROEXPAND through the message you get when trying
to TRACE a macro:
,----
| (%i3) foo() ::= bar $
|
| (%i4) trace(foo);
|
|
| foo is a macro, won't trace well, so use the MACROEXPAND function to debug it.
| (%o4) []
`----
Regards,
Albert.