Article View: comp.lang.clos
Article #41return-from GF with :after methods?
From: Len Charest
Date: Tue, 28 Jul 1992 18:54
Date: Tue, 28 Jul 1992 18:54
10 lines
1440 bytes
1440 bytes
I have a generic function with a primary method and at least one :after method. The GF uses standard method combination. In the body of the primary method I have a conditional RETURN-FROM statement which I had assumed would throw out of the *GF* altogether and skip execution of the :after method (essentially overriding the semantics of standard method combination). However, in Lucid 4.0.2 the :after method is executed anyway--the net effect of RETURN-FROM being immediate exit from the primary method only.
Is this correct behavior? If so, how do I exit from a primary method such that :after method are skipped? I'd like to avoid use of THROW and non-standard method combination. Is it possible?
..................................................
Len Charest, Jr.
JPL Artificial Intelligence Group
charest@aig.jpl.nasa.gov
Technical Details
Message-ID:
<1992Jul28.185423.22804@jpl-devvax.jpl.nasa.gov>Path:
arc1-ca.pugleaf.net!sparky!uunet!elroy.jpl.nasa.gov!ufo!Aig.Jpl.Nasa.Gov!charestShow Full Headers
Complete Article Headers
Newsgroups: comp.lang.clos Path: arc1-ca.pugleaf.net!sparky!uunet!elroy.jpl.nasa.gov!ufo!Aig.Jpl.Nasa.Gov!charest From: charest@Aig.Jpl.Nasa.Gov (Len Charest) Subject: return-from GF with :after methods? Message-ID: <1992Jul28.185423.22804@jpl-devvax.jpl.nasa.gov> Followup-To: comp.lang.clos Sender: usenet@jpl-devvax.jpl.nasa.gov (For NNTP so rrn will be able to post) Nntp-Posting-Host: ai-cyclops Reply-To: charest@aig.jpl.nasa.gov Organization: NASA/Jet Propulsion Laboratory Date: Tue, 28 Jul 1992 18:54:23 GMT Lines: 9