From: Szymon
Subject: Re: Setting a value programatically given the name of an accessor.
Date: 
Message-ID: <ep864u$3lb$1@nemesis.news.tpi.pl>
Madhu wrote:

> * (defun setslot (object slot-name new-value)
> 	(funcall (fdefinition `(setf ,slot-name)) new-value object ))


I'm not sure of portability, from CLHS:

"The mechanism by which defstruct arranges for slot accessors to be usable with
setf is implementation-dependent; for example, it may use setf functions, setf
expanders, or some other implementation-dependent mechanism known to that
implementation's code for setf."

Regards, Szymon.