[Ecls-list] DEFSTRUCT and FDEFINITION of SETF accessors.

Juan Jose Garcia-Ripoll jjgarcia at users.sourceforge.net
Thu Apr 24 14:45:50 UTC 2008


On Thu, Apr 24, 2008 at 4:42 PM, Samium Gromoff
<_deepfire at feelingofgreen.ru> wrote:
>  It appears that CVS ECL fails to properly make available the fdefinitions
>  of structure field SETF accessors:

Why should it create functions at all? I mean, according to the
following, ECL is free to implement SETF access to slots using macros
or SETF expanders

http://www.lispworks.com/documentation/HyperSpec/Body/m_defstr.htm
":read-only x
When x is true, this specifies that this slot cannot be altered; it
will always contain the value supplied at construction time. setf will
not accept the reader function for this slot. If x is false, this
slot-option has no effect. X is not evaluated.
When this option is false or unsupplied, it is
implementation-dependent whether the ability to write the slot is
implemented by a setf function or a setf expander."

Juanjo

-- 
Facultad de Fisicas, Universidad Complutense,
Ciudad Universitaria s/n Madrid 28040 (Spain)
http://juanjose.garciaripoll.googlepages.com




More information about the ecl-devel mailing list