ToC DocOverview CGDoc RelNotes Index PermutedIndex
Allegro CL
Home Previous Up Next Table of Contents Index
  ANSI Common Lisp   3 Evaluation and Compilation   3.8 Dictionary Evaluation and Compilation

3.8.29 special-operator-p Function

special-operator-p symbol    generalized-boolean

Arguments and Values:
symbol - a symbol.

generalized-boolean - a generalized boolean.

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

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

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

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.

Allegro CL Implementation Details:

Home Previous Up Next Table of Contents Index
© Franz Inc. All Rights Reserved - File last updated 2022-07-25