[comp.lang.clos] Stupid Question...

jonl%kuwait@LUCID.COM (Jon L White) (03/15/91)

re: The trouble I am encountering is that, with the version of CLOS I am
    using, :BEFORE and :AFTER methods on NAME and (SETF NAME) do *NOT* get
    invoked  with the methods generated by by DEFCLASS, but *DO* get invoked
    with the  hand-coded methods.  To quote CLtL2, page 777, . . .

This is a bug in the implementation you are using;  report it to your
vendor, and ask for a patch.  (Not so stupid a question, after all.)

However, be aware that automatically generated accessor methods are
not *exactly* like other methods.  The dimensions for variation are
at least on the type of the method -- STANDARD-READER-METHOD or
STANDARD-WRITER-METHOD, or STANDARD-ACCESSOR-METHOD, instead of
STANDARD-METHOD -- and the spec mentions that implementations will
tend to "optimize" these much more.  But as far as the method
combination for the generic function involved is concerned, there
should be no differences.


-- JonL --