Next Prev Up Top Contents Index

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 Reference Manual - 13 Jun 2003

Next Prev Up Top Contents Index