Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!think.com!news From: barmar@think (Barry Margolin) Newsgroups: comp.lang.clos Subject: Why do SLOT-{UNBOUND,NOT-FOUND} take class argument? Message-ID: <1990Dec5.071217.26391@Think.COM> Date: 5 Dec 90 07:12:17 GMT Sender: news@Think.COM Organization: Thinking Machines Corporation, Cambridge MA, USA Lines: 13 Why do the SLOT-UNBOUND and SLOT-NOT-FOUND generic functions take the class of the object as an argument? They already take the object as an argument, so class-specific behavior can be done by specializing on the object's type. These functions aren't part of the meta-object protocol, so why should they need to be able to specialize on the metaclass? Wouldn't it have been more appropriate to have done this in the same way as SLOT-VALUE: by defining SLOT-{UNBOUND,NOT-FOUND}-USING-CLASS meta-object g.f.'s that take a class argument? -- Barry Margolin, Thinking Machines Corp. barmar@think.com {uunet,harvard}!think!barmar Brought to you by Super Global Mega Corp .com