[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Macrolet and setf



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