Package: closer-mop
Function extract-specializer-names
Lambda List
extract-specializer-names (specialized-lambda-list)
Arguments
Return Value
The result is a list of specializer names.
Details
This function takes a specialized lambda list and returns its specializer
names. This is a non-destructive operation. Whether the result shares
structure with the argument is unspecified. The results are undefined if the
result of this function is modified.
The result of this function will be a list with a number of elements equal to the number of required arguments in specialized-lambda-list. Specializers are defaulted to the symbol t.
If the specialized-lambda-list argument does not have legal syntax, an error is signaled. This syntax checking does not check the syntax of the actual specializer names, only the syntax of the lambda list and where the specializers appear.
The result of this function will be a list with a number of elements equal to the number of required arguments in specialized-lambda-list. Specializers are defaulted to the symbol t.
If the specialized-lambda-list argument does not have legal syntax, an error is signaled. This syntax checking does not check the syntax of the actual specializer names, only the syntax of the lambda list and where the specializers appear.
Examples
(extract-specializer-names '((p position))) ==> (POSITION)
(extract-specializer-names '((p position) x y)) ==> (POSITION T T)
(extract-specializer-names '(a (b (eql x)) c &rest i)) ==> (T (EQL X) T)