[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Macrolet and setf
- To: COMMON-LISP@su-ai.arpa
- Subject: Macrolet and setf
- From: ricks%shambhala.Berkeley.EDU@BERKELEY.EDU (Rick L Spickelmier)
- Date: Sat, 22 Nov 1986 19:04:00 -0000
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)))
Rick Spickelmier
UC Berkeley