[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Macrolet and setf
- To: ricks%shambhala.Berkeley.EDU@BERKELEY.EDU
- Subject: Re: Macrolet and setf
- From: Pavel.pa@Xerox.COM
- Date: Sat, 22 Nov 1986 23:21:00 -0000
- Cc: COMMON-LISP@su-ai.arpa
- In-reply-to: ricks%shambhala.Berkeley.EDU@BERKELEY.EDU (Rick L Spickelmier)'s message of 22 Nov 86 15:04 PST (Saturday)
Date: 22 Nov 86 15:04 PST (Saturday)
From: ricks%shambhala.Berkeley.EDU@BERKELEY.EDU (Rick L
Spickelmier)
Are macros defined with macrolet allowed as place forms in setf?
I have tried the following in VAXLISP and EXCL with both
reporting that 'mmm' can not be used as a place form (interpreted
and
compiled).
(defun abc (n)
(macrolet ((mmm (z) `(gethash ,z *bob*)))
(setf (mmm n) 5)))
I believe that VAXLISP and EXCL are both in error. Xerox, Lucid, and
Symbolics all do this correctly.
Pavel