Returns the canonical form for a dspec.
dspec
canonicalize-dspec dspec => canonical-dspec
dspec⇩ |
A dspec. |
canonical-dspec |
A canonical dspec. |
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.
CL-USER 12 > (dspec:canonicalize-dspec 'foo) (FUNCTION FOO) CL-USER 13 > (dspec:canonicalize-dspec '(defmethod bar (list t))) (METHOD BAR (LIST T))
LispWorks® User Guide and Reference Manual - 01 Dec 2021 19:30:33