-----maxima-bounces at math.utexas.edu wrote: ----- >This looks like a problem with :lisp in wxMaxima. In wxMaxima, the first input cannot be :lisp. After that, :lisp is OK, I think: (%i1) 42$ (%i2) :lisp (defun $makesimp (op ex) (cons (list ($verbify op) 'simp) (reverse (cdr ex)))); $MAKESIMP (%i2) makesimp("+",[b,a]); (%o2) b+a Barton