Article View: comp.lang.clos
Article #44return-from GF with : after methods?
From: Jon L White
Date: Tue, 28 Jul 1992 20:32
Date: Tue, 28 Jul 1992 20:32
19 lines
1228 bytes
1228 bytes
re: ... 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.
(1) THROW, in Lucid's implementations, won't be noticeably different
in performance than a non-local lexical exit, such as *might* be
needed with your RETURN-FROM;
(2) You coudl use an :AROUND method, and invoke the primary method
with APPLY-METHOD (if that works ok in 4.0.2 -- it does in 4.1);
Although you'd still have "standard" method combination, this
particular function isn't part of any "standard".
By the bye, what was the source code? exactly what "tag" did you
return from in your primary method?
-- JonL --
Technical Details
Message-ID:
<9207282032.AA01167@kuwait.lucid>Path:
arc1-ca.pugleaf.net!sparky!uunet!gatech!usenet.ins.cwru.edu!magnus.acs.ohio-state.edu!cis.ohio-state.edu!lucid.com!jonl%kuwaitReferences:
jonl%kuwait@lucid.com (Jon L White)Show Full Headers
Complete Article Headers
Newsgroups: comp.lang.clos Path: arc1-ca.pugleaf.net!sparky!uunet!gatech!usenet.ins.cwru.edu!magnus.acs.ohio-state.edu!cis.ohio-state.edu!lucid.com!jonl%kuwait From: jonl%kuwait@lucid.com (Jon L White) Subject: return-from GF with : after methods? Message-ID: <9207282032.AA01167@kuwait.lucid> Sender: daemon@cis.ohio-state.edu Organization: The Ohio State University Department of Computer and Information Science References: jonl%kuwait@lucid.com (Jon L White) Date: Tue, 28 Jul 1992 20:32:34 GMT Lines: 19