LispWorks User Guide and Reference Manual > 30 The DSPEC Package

NextPrevUpTopContentsIndex

dspec-subclass-p

Function
Summary

Tests whether one dspec class is a subclass of another.

Package

dspec

Signature

dspec-subclass-p class1 class2 => result

Arguments

class1, class2

Symbols naming dspec classes.

Values

result

A boolean.

Description

The function dspec-subclass-p determines whether the dspec class denoted by class1 is a subclass of that denoted by class2 .

Example
CL-USER 55 > (dspec:dspec-subclass-p 'defmacro 'type)
NIL
 
CL-USER 56 > (dspec:dspec-subclass-p 'defmacro 
                                     'function)
T

LispWorks User Guide and Reference Manual - 22 Dec 2009

NextPrevUpTopContentsIndex