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

defstruct, slot-accessors, and setf



CLtL2 allows setf functions to be accessed with #'(setf ...).
In MCL2.0 (f2) setf accessors for structures cannot be denoted by
this form.

(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) (...) ...).

Any comments...

Ralf