[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
defstruct, slot-accessors, and setf
- To: email@example.com
- Subject: defstruct, slot-accessors, and setf
- From: Ralf Moeller <firstname.lastname@example.org>
- Date: Thu, 14 May 1992 16:16+0200
- Reply-to: email@example.com
CLtL2 allows setf functions to be accessed with #'(setf ...).
In MCL2.0 (f2) setf accessors for structures cannot be denoted by
(defstruct ship x y)
(describe #'ship-x) ;; ok
(describe #'(setf ship-x)) ;; bang!
I would to suggest to use these setf functions ananogously to those
defined with defun (defun (setf ship-z) (...) ...).