Informs the dspec system that a definer expands into another definer.
dspec
define-dspec-alias name lambda-list &body body
name⇩ |
A symbol naming a definer. |
lambda-list⇩ |
A list representing the parameters of a name dspec. |
body⇩ |
Forms evaluated to yield a dspec. |
The macro define-dspec-alias
works rather like deftype. Dspecs whose car is name should have parameters that match lambda-list. They will be canonicalized into the dspec returned by body.
define-dspec-alias
is useful when you add a new way of making existing definitions with a new defining form that expands into a system-provided defining form. The dspec system should consider the new and system-provided definers as variant forms of the same dspec class. define-dspec-alias
is used to convert one of them to the other during canonicalization by canonicalize-dspec.
defparameter is pre-defined as an alias for defvar.
LispWorks® User Guide and Reference Manual - 01 Dec 2021 19:30:33