Subject: Re: Q: Scheme style macro transformers in common lisp
From: Erik Naggum <clerik@naggum.no>
Date: 1998/03/19
Newsgroups: comp.lang.lisp
Message-ID: <3099315988158482@naggum.no>


* David D. Lowry
| Be aware that Common Lisp Macros are not 'hygenic'.

  what's the big deal about this purported hygiene?  sometimes, I _want_
  macros to be unhygienic, such as by introducing a macro into the name
  space of the body with a MACROLET (like LOOP-FINISH), and when I want to
  make sure that I don't pollute the environment, I use this simple macro:

(defmacro with-hygienic-variables (vars &body body)
  `(let ,(loop for var in vars collect
               `(,var (make-symbol ,(symbol-name var))))
     ,@body))

#:Erik
-- 
  religious cult update in light of new scientific discoveries:
  "when we cannot go to the comet, the comet must come to us."