[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
initforms and implicit blocks
- To: apollo!dfm@UW-BEAVER.ARPA
- Subject: initforms and implicit blocks
- From: Rob MacLachlan <RAM@C.CS.CMU.EDU>
- Date: Fri, 07 Mar 1986 05:28:00 -0000
- Cc: COMMON-LISP@SU-AI.ARPA
- In-reply-to: Msg of Thu 6 Mar 86 17:18:28 EST from apollo!dfm at uw-beaver.arpa
Date: Thu, 6 Mar 86 17:18:28 EST
From: apollo!dfm at uw-beaver.arpa
Re: initforms and implicit blocks
Are initforms in &optional, &key, and &aux parameters evaluated
inside or outside the implicit block provided by defun and
friends? ... At first glance, it seems most tasteful to have them
evaluated within the implicit block.
What could DEFUN expand into which would place the arguments within
the scope of the block? The obvious expansion of DEFUN is something
like:
(setf (symbol-function '<name>) #'(lambda <arglist> (block <name> <body>))
Rob