Article View: comp.lang.clos
Article #454Stupid Question...
From: Jon L White
Date: Thu, 14 Mar 1991 21:08
Date: Thu, 14 Mar 1991 21:08
19 lines
1371 bytes
1371 bytes
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 --
Technical Details
Message-ID:
<9103142108.AA04767@kuwait>Path:
arc1-ca.pugleaf.net!utzoo!news-server.csri.toronto.edu!cs.utexas.edu!uunet!tut.cis.ohio-state.edu!unreplyable!garbageReferences:
<1991Mar13.202410.8046@arc.ab.ca>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!news-server.csri.toronto.edu!cs.utexas.edu!uunet!tut.cis.ohio-state.edu!unreplyable!garbage From: jonl%kuwait@LUCID.COM (Jon L White) Newsgroups: comp.lang.clos Subject: Stupid Question... Message-ID: <9103142108.AA04767@kuwait> Date: 14 Mar 91 21:08:52 GMT References: <1991Mar13.202410.8046@arc.ab.ca> Sender: welch@tut.cis.ohio-state.edu Distribution: inet Organization: CommonLoops Lines: 19