SPECIAL-OPERATOR-P(3cl) |
Common Lisp Reference |
SPECIAL-OPERATOR-P(3cl) |
NAME
special-operator-p – determine whether symbol is a special operator (function)
SYNOPSIS
special-operator-p
|
ARGUMENTS and VALUES
— a symbol.
— a generalized boolean.
VALID CONTEXT
n/a
BINDING TYPES AFFECTED
n/a
DESCRIPTION
Returns true if is a special operator ; otherwise, returns false.
AFFECTED BY
(none)
EXCEPTIONAL SITUATIONS
Should signal type-error if its argument is not a symbol .
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.
EXAMPLES
(special-operator-p ’if) true
(special-operator-p ’car) false
(special-operator-p ’one) false
SEE ALSO
(none)
AUTHOR and COPYRIGHT
Substantial portions of this page are taken from draft proposed American National Standard for Information Systems—Programming Language—Common Lisp, X3J13/94-101R, Version 15.17R, Fri 12-Aug-1994 6:35pm EDT; no copyright indicated.
Additional clarification and comments by Michael Marking <marking@tatanka.com>, http://www.tatanka.com/software/cl-manpages/; alternatively, https://github.com/wakinyantanka/cl-manpages/. Copyright 2017 Michael Marking as both an original and a derivative work.
Licensed under Creative Commons Attribution-NoDerivatives 4.0 International (CC BY-ND 4.0).
This page last revised Saturday 18 March 2017.