[EIEIO] Using 'setf' on a slot accessor
2005-11-01 20:50:00 GMT
Hi
In the past few months, I unfortunately can't work a lot with
EIEIO [1]. Today, I surprisingly found the following error while
trying to use 'setf' on a slot accessor function:
ELISP> (defclass A () ((s :initarg :s :accessor get-s)))
[defclass A nil nil
...]
ELISP> (setf (get-s (A "name" :s 'value)) 'new-value)
*** Eval error *** Invalid slot name: "#<A name>", get-s
ELISP>
I found nowhere if this is valid or not. Is it?
[1] Erik, did FSF say you I signed the copyright assignment?
--drkm
-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php

RSS Feed