NextPrevUpTopContentsIndex

dspec-equal

Function
Summary

Tests two dspecs for equality as dspecs.

Package

dspec

Signature

dspec-equal dspec1 dspec2 => result

Arguments

dspec1, dspec2

Dspecs.

Values

result

A boolean.

Description

The function dspec-equal compares dspec1 and dspec2 for equality as dspecs.

Both arguments are canonicalized before the comparison.

Dspecs in different subclasses of the same namespace are dspec-equal if their names match.

Unknown dspecs are compared simply by equal .

Example
CL-USER 44 > (dspec:dspec-equal '(deftype foo)
                                '(defclass foo))
T

LispWorks Reference Manual - 23 Jul 2004

NextPrevUpTopContentsIndex