Next Prev Up Top Contents Index

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

Next Prev Up Top Contents Index