[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
CLOS analogue to TYPEP and SUBTYPEP
- To: common-lisp-object-system@SAIL.STANFORD.EDU
- Subject: CLOS analogue to TYPEP and SUBTYPEP
- From: Eric Benson <eb@lucid.com>
- Date: Sun, 16 Oct 88 13:12:45 pdt
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.