Newsgroups: comp.lang.lisp
From: "Scott McKay" <scott.mc...@comcast.net>
Date: Sun, 25 Apr 2004 12:29:11 GMT
Local: Sun, Apr 25 2004 8:29 am
Subject: Re: Namespaces of class slot names and accessors
news:878ygk9tnw.fsf@plato.moon.paoloamoroso.it...
> To which namespace do class slot names belong? And slot accessors? 'same-accessor' is just the name of a generic function for > More specifically, I would like to know whether it is possible for > (defclass class1 () > (defclass class2 () > or for different classes to have slots with the same accessor names: > (defclass class1 () > (defclass class2 () the slot's accessor method, so this will work. However, even though there is no enforcement, I think that you should be sure that 'same-accessor' implements the same sort of semantics for each class. FWIW, when I share accessor names between multiple As for slot names, well, they're just names of symbols. You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||