Page 2 of 2

Re: changing argument variables

Posted: Mon Dec 22, 2008 4:22 pm
by knobo
How about this:

(defparameter x 0)

(defun six (y)
(declare (ignore y))
6)

(define-modify-macro hello () six)

(hello x)

It depends what you want to use it for.