Is there a portable way to get a list of the names of all the slots in a class? I know about class-slots (and class-direct-slots) but these return (apparently) opaque slot-definition objects from which the name cannot be portably extracted.
> I know about class-slots (and class-direct-slots) but these return > (apparently) opaque slot-definition objects from which the name > cannot be portably extracted.
Try to call SLOT-DEFINITION-NAME on these objects, which should be about as (non-)portable as CLASS-SLOTS itself.
In article <rNOSPAMon-E37E7B.15101115122...@news.gha.chartermi.net>, Ron Garret <rNOSPA...@flownet.com> wrote:
> Is there a portable way to get a list of the names of all the slots in a > class? I know about class-slots (and class-direct-slots) but these > return (apparently) opaque slot-definition objects from which the name > cannot be portably extracted.
In article <k0tvmt4zjw...@breiing.com>, Marcus Breiing <use...@2008w49.mail.breiing.com> wrote:
> * Ron Garret
> > I know about class-slots (and class-direct-slots) but these return > > (apparently) opaque slot-definition objects from which the name > > cannot be portably extracted.
> Try to call SLOT-DEFINITION-NAME on these objects, which should be > about as (non-)portable as CLASS-SLOTS itself.
> In article <rNOSPAMon-E37E7B.15101115122...@news.gha.chartermi.net>, > Ron Garret <rNOSPA...@flownet.com> wrote:
> > Is there a portable way to get a list of the names of all the slots in a > > class? I know about class-slots (and class-direct-slots) but these > > return (apparently) opaque slot-definition objects from which the name > > cannot be portably extracted.
> CL-USER 83 > (class-direct-slots *) > (#<STANDARD-DIRECT-SLOT-DEFINITION A 412021FACB> > #<STANDARD-DIRECT-SLOT-DEFINITION B 412021FAE3>)
> CL-USER 84 > (slot-definition-name (first *)) > A
> I which packages the functions are is implementation > dependent. Also not every implementation > stores slot-information as slot-definition > objects.
Ron Garret wrote: > Is there a portable way to get a list of the names of all the slots in a > class? I know about class-slots (and class-direct-slots) but these > return (apparently) opaque slot-definition objects from which the name > cannot be portably extracted.
On Dec 16, 12:25 am, Rainer Joswig <jos...@lisp.de> wrote:
> [...] > CL-USER 83 > (class-direct-slots *)
Sorry for the clearly out of topic question, but any idea where I could find documentation about this '*' variable ? Hard to google about '*' or 'start' symbol !
In article <4c943efd-f5a8-46e3-b76f-a26df95a9...@e25g2000vbe.googlegroups.com>, Nicolas Edel <nicolas.e...@gmail.com> wrote:
> On Dec 16, 12:25 am, Rainer Joswig <jos...@lisp.de> wrote: > > [...] > > CL-USER 83 > (class-direct-slots *)
> Sorry for the clearly out of topic question, but any idea where I > could find documentation about this '*' variable ? Hard to google > about '*' or 'start' symbol !
> -Nicolas
* is the last value ** the value before that *** the value before that
Nicolas Edel <nicolas.e...@gmail.com> writes: > On Dec 16, 12:25 am, Rainer Joswig <jos...@lisp.de> wrote: >> [...] >> CL-USER 83 > (class-direct-slots *)
> Sorry for the clearly out of topic question, but any idea where I > could find documentation about this '*' variable ? Hard to google > about '*' or 'start' symbol !
> > Sorry for the clearly out of topic question, but any idea where I > > could find documentation about this '*' variable ? Hard to google > > about '*' or 'start' symbol !
> > > Sorry for the clearly out of topic question, but any idea where I > > > could find documentation about this '*' variable ? Hard to google > > > about '*' or 'start' symbol !
> > Sorry for the clearly out of topic question, but any idea where I > > could find documentation about this '*' variable ? Hard to google > > about '*' or 'start' symbol !
> > -Nicolas
> * is the last value > ** the value before that > *** the value before that