[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Does Defmacro establish a block?
- To: "David A. Moon" <Moon@SCRC-STONY-BROOK.ARPA>
- Subject: Does Defmacro establish a block?
- From: "Scott E. Fahlman" <Fahlman@CMU-CS-C.ARPA>
- Date: Wed, 12 Jun 1985 01:17:00 -0000
- Cc: common-lisp@SU-AI.ARPA, Rob MacLachlan <RAM@CMU-CS-C.ARPA>
- In-reply-to: Msg of 11 Jun 1985 16:14-EDT from David A. Moon <Moon at STONY-BROOK.SCRC.Symbolics.COM>
- Sender: FAHLMAN@CMU-CS-C.ARPA
If defmacro does, do define-setf-method, defsetf, deftype...?
I believe that all defining forms that have a name and a body should put
a named block around the body. In our implementation, defun and defmacro
do so, but currently the others you mentioned do not. I'm calling that
a bug in our implementation and suggesting that a future clarification
of Common Lisp should require this.
I can accept this, but let's be sure we agree on what the block name
would be in each case. For the SETF forms, is it the name of the
accessing operator? For DEFTYPE, is it the name of the type?