Re: function redefinition, was: redefining macro as a function?
Subject: Re: function redefinition, was: redefining macro as a function?
From: Nikodemus Siivola
Date: Sat, 11 Jun 2005 19:26:30 +0300 (EEST)
On Fri, 10 Jun 2005, C Y wrote:
> 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.
I don't know what you think ;-), but the SETQ there is a no-op...
Cheers,
-- Nikodemus Schemer: "Buddha is small, clean, and serious."
Lispnik: "Buddha is big, has hairy armpits, and laughs."