Listing slots in CLOS
- From: Rupert Swarbrick <rswarbrick@xxxxxxxxx>
- Date: Sun, 30 Mar 2008 13:03:59 -0600
Hi,
Is there a function, which will return a list (or whatever) of the slots
in a class that I've got an instance of? I'm working with a weird auto-
generated binding library, which I don't really understand... and I'd
like to be able to eyeball the fields I can play with!
The only things I can find are slot-exists-p and slot-bound-p, which of
course aren't quite what I'm after. If there's not a portable way to do
this, I'm using sbcl.
Rupert
.
- Follow-Ups:
- Re: Listing slots in CLOS
- From: Thomas A. Russ
- Re: Listing slots in CLOS
- From: vanekl
- Re: Listing slots in CLOS
- From: Ken Tilton
- Re: Listing slots in CLOS
- From: Rupert Swarbrick
- Re: Listing slots in CLOS
- Prev by Date: Re: Linefeed character in SBCL
- Next by Date: Re: what is up with the spam?
- Previous by thread: Parens Matching
- Next by thread: Re: Listing slots in CLOS
- Index(es):