changing argument variables

Discussion of Common Lisp
knobo

Re: changing argument variables

Post by knobo » Mon Dec 22, 2008 4:22 pm

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.

Post Reply