Re: function redefinition, was: redefining macro as a function?



--- Robert Dodier  wrote:

> > Could we at least replace the defmacro with an equalivent
> > defun for defining toplevel-macsyma-eval?
> 
> I don't see any problems there.

OK, excellent :-).  Any objections to the following? (anybody)

macsys.lisp:

;;(defmacro toplevel-macsyma-eval (x) `(meval* ,x))

(defun toplevel-macsyma-eval (x) (setq x (meval* x)))

This will allow me (I think) to do what I need to in the units package,
thanks to Robert's redefinition idea, and (I think) should be the same
thing as far as Maxima is concerned.

Cheers,
CY

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com