Article View: comp.lang.clos
Article #153undefmethod
From: Jon L White
Date: Thu, 20 Aug 1992 00:20
Date: Thu, 20 Aug 1992 00:20
23 lines
1173 bytes
1173 bytes
re: last week I asked about how to remove a method. here's the solution I
came up with in the end:
. . .
I was out of town last week and didn't see your msg; but Lucid has always
had a function named UNDEFMETHOD, which takes a method specification as an
argument.
Some sample calls, in the method-spec form, would be
(undefmethod '(method some-generic-fn (standard-object stream)))
(undefmethod '(method initialize-instance :after (green-turtle)))
Many other functions take "method specifications" as arguments.
UNDEFMETHOD is "homed" in the LUCID-COMMON-LISP package and thus
would be inherited in a normallly defaulted package; or you could
write LCL:UNDEFMETHOD.
-- JonL --
Technical Details
Message-ID:
<9208200020.AA02281@kuwait.lucid>Path:
arc1-ca.pugleaf.net!sparky!uunet!charon.amdahl.com!pacbell.com!mips!darwin.sura.net!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!lucid.com!jonl%kuwaitShow Full Headers
Complete Article Headers
Newsgroups: comp.lang.clos Path: arc1-ca.pugleaf.net!sparky!uunet!charon.amdahl.com!pacbell.com!mips!darwin.sura.net!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!lucid.com!jonl%kuwait From: jonl%kuwait@lucid.com (Jon L White) Subject: undefmethod Message-ID: <9208200020.AA02281@kuwait.lucid> Sender: daemon@cis.ohio-state.edu Organization: The Ohio State University Department of Computer and Information Science Date: Thu, 20 Aug 1992 00:20:22 GMT Lines: 23