[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
CLOS analogue to TYPEP and SUBTYPEP
I am looking for a function analogous to TYPEP or SUBTYPEP in CLOS.
Given two class objects, I need to know whether one is a superclass of
the other. I can't seem to find such a function in Chapter 2. Have I
missed something, is this relegated to Chapter 3, or is there
something inherently bogus about what I'm trying to do? It seems like
a rather ordinary thing, not terribly metaclassy. This came up while
writing a program using CLOS that is intended to be a simple example.