Function special-operator-p

Syntax:

special-operator-p symbol generalized-boolean

Arguments and Values:

symbol—a symbol.

generalized-boolean—a generalized boolean.

Description:

7.1.1 22Returns true if symbol is a special operator; otherwise, returns false.

Examples:

 (special-operator-p 'if) → true
 (special-operator-p 'car) → false
 (special-operator-p 'one) → false

Side Effects:

None.

Affected By:

None.

Exceptional Situations:

Should signal type-error if its argument is not a symbol.

See Also:

None.

Notes:

Historically, this function was called special-form-p. The name was finally declared a misnomer and changed, since it returned true for special operators, not special forms.

This is beyond the scope of the language. -kmp 26-Dec-90 A returned \term{non-nil} value is typically a \term{function} of \term{implementation-dependent} nature that can be used to interpret (evaluate) the \term{special form}.