2010-06-03 8 views

Antwort

11

Sie können den CLASS-NAME einer Klasse erhalten.

Eine Klasse hat auch einen Typ mit dem gleichen Namen.

SUBTYPEP testet, ob ein Typ ein Untertyp eines anderen Typs ist.

3

closer-mop ein subclassp Prädikat

CL-USER> (c2mop:subclassp (find-class 'condition) (find-class 'error)) 
NIL 
CL-USER> (c2mop:subclassp (find-class 'error) (find-class 'condition)) 
T 
Verwandte Themen