0

I need to make a window with the properties of a class (its slot-values).

It would be something like describe function.

My question is: How do I get all the slots-name for that class?

I wasn't able to find anything about it, only the describe function.

Rainer Joswig
  • 136,269
  • 10
  • 221
  • 346

1 Answers1

0

How about

(mapcar #'slot-definition-name (class-slots class))
coredump
  • 37,664
  • 5
  • 43
  • 77