NextPrevUpTopContentsIndex

canonicalize-dspec

Function
Summary

Returns the canonical form for a dspec.

Package

dspec

Signature

canonicalize-dspec dspec => canonical-dspec

Arguments

dspec

A dspec.

Values

canonical-dspec

A canonical dspec.

Description

The function canonicalize-dspec checks that dspec is syntactically correct and returns its canonical form if dspec is valid. Otherwise canonicalize-dspec returns nil.

canonicalize-dspec expands dspec aliases

Example
CL-USER 12 > (dspec:canonicalize-dspec 'foo)
(FUNCTION FOO)
 
CL-USER 13 > (dspec:canonicalize-dspec '(defmethod bar (list t)))
(METHOD BAR (LIST T))
See also

define-dspec-alias


LispWorks Reference Manual - 12 Mar 2008

NextPrevUpTopContentsIndex