Hello,

Joseph Kiniry <[EMAIL PROTECTED]> writes:

> I need a function that will define a total order on two arbitrary 
> structures.
>
> In my other ports, I've used internal functions to get lists of slots, 
> orders on them, etc.
>
> Do the CMUCL, SBCL, and CLISP developers have suggestions for 
> implementing such a function?  I've dug around the internal 
> functionality, but have not found an obvious solution to this
> problem.

Under SBCL you can get a list of slot descriptions with
  (sb-pcl:class-slots (sb-pcl:find-class <structure-name>))
Then use SB-PCL:SLOT-DEFINITION-... to get slot information.

-- 
Regards,
Alexey Dejneka

"Alas, the spheres of truth are less transparent than those of
illusion." -- L.E.J. Brouwer

Reply via email to