Article View: comp.lang.clos
Article #88Re: no-applicable-method
From: Barry Margolin
Date: Thu, 16 Apr 1992 10:28
Date: Thu, 16 Apr 1992 10:28
16 lines
1121 bytes
1121 bytes
Date: Thu, 16 Apr 1992 13:05 EDT
From: Thomas Kirk <tk@HUNNY.research.att.com>
From: barmar@think.com (Barry Margolin)
However, this won't work if you're trying to do this to generic functions
that you don't define yourself, since you can't override their metaclasses.
this will work fine. assuming that you can get at the generic functions,
just change the class of the generic function object, like so:
Sorry, this isn't permitted. According to p.197 of "The Art of the
Metaobject Protocol", third paragraph, "the class of a generic function
metaobject may not be changed...".
barmar
Technical Details
Message-ID:
<19920416182843.6.BARMAR@occam.think.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!think.com!barmarReferences:
<19920416170513.9.TK@PETZL.research.att.com>Show Full Headers
Complete Article Headers
Newsgroups: comp.lang.clos Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!think.com!barmar From: barmar@think.com (Barry Margolin) Subject: Re: no-applicable-method Message-ID: <19920416182843.6.BARMAR@occam.think.com> Sender: daemon@cis.ohio-state.edu Organization: The Ohio State University Department of Computer and Information Science References: <19920416170513.9.TK@PETZL.research.att.com> Date: Thu, 16 Apr 1992 10:28:00 GMT Lines: 16