🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.clos
Article #27

Re: : METHOD-COMBINATION arg to ENSURE-GENERIC-FUNCTION

#27
From: Gregor Kiczales
Date: Thu, 06 Aug 1992 17:12
29 lines
1904 bytes
   Date:	Tue, 4 Aug 1992 16:11:44 -0700
   From:	jonl%kuwait@lucid.com (Jon L White)

   Should ENSURE-GENERIC-FUNCTION coerce its :METHOD-COMBINATION
   argument?  That is, should it be acceptable to pass 'APPEND to
   ENSURE-GENERIC-FUNCTION rather than the method-combination 
   metaobject?  What do you think?

Well, this is a little hard to answer, since so little of how method
combination metaobjects is defined in the spec.  But, assume for the
time being a straightforward approach where method combination types
name classes of method combination metaobjects (what namespace those
classes are named in is an issue of course).

I believe ENSURE-GENERIC-FUNCTION should be able to accept a method
combination type name, as well as the metaobject.  A further question is
whether it should be willing to accept a list, where the car is the name
and the cdr is initialization arguments (or something like that).

This whole thing is further complicated by the dance we tried to do
around compile-time vs. load time.  It would probably all work much
better if there were separate generic functions called at each time---it
didn't seem like that would be acceptable before, because of the general
concern about not specifying anything to do with the compiler.  I
imagine some people will want to play with some sort of layered protocol
to improve this though.

Gregor
Technical Details
Message-ID: <92Aug6.101239pdt.29192@tracer-bullet.parc.xerox.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!parc.xerox.COM!Gregor
References: <9208042311.AA09770@kuwait.lucid>

Show Full Headers
Complete Article Headers
Newsgroups: comp.lang.clos
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!parc.xerox.COM!Gregor
From: Gregor@parc.xerox.COM (Gregor Kiczales)
Subject: Re: : METHOD-COMBINATION arg to ENSURE-GENERIC-FUNCTION
Message-ID: <92Aug6.101239pdt.29192@tracer-bullet.parc.xerox.com>
Sender: Gregor Kiczales <gregor@parc.xerox.com>
Organization: The Ohio State University Department of Computer and Information Science
References: <9208042311.AA09770@kuwait.lucid>
Date: Thu, 6 Aug 1992 17:12:33 GMT
Lines: 29