Common Lisp the Language, 2nd Edition
Declarations allow you to specify extra information about your programto the Lisp system. With one exception,declarations are completely optionaland correct declarations do not affect the meaningof a correct program. The exception is thatspecial declarationsdo affect the interpretation of variablebindings and references and somust be specified where appropriate.All other declarations are of an advisory nature, and may be usedby the Lisp system to aid the programmer by performing extra error checkingor producing more efficient compiled code. Declarations are alsoa good way to add documentation to a program.
Note that it is considered an error for a program to violate adeclaration (such as atype declaration), but an implementation isnot required to detect such errors (though such detection, wherefeasible, is to be encouraged).
AI.Repository@cs.cmu.edu
[8]ページ先頭