DECLARATION(3cl)

Common Lisp Reference

DECLARATION(3cl)

 

NAME

declaration – advise compiler of valid but potentially non-standard declaration name (declaration)    

SYNOPSIS

 

( declaration { name }* )
 

ARGUMENTS and VALUES

name —a symbol.     

VALID CONTEXT

proclamation only    

BINDING TYPES AFFECTED

 

DESCRIPTION

Advises the compiler that each name is a valid but potentially non-standard declaration name. The purpose of this is to tell one compiler not to issue warnings for declarations meant for another compiler or other program processor.     

AFFECTED BY

(none)    

EXCEPTIONAL SITUATIONS

(none)     

NOTES

(none)  

EXAMPLES

 
(declaim (declaration author target-language target-machine))
(declaim (target-language ada))
(declaim (target-machine IBM-650))
(defun strangep (x)
   
(declare (author "Harry Tweeker"))
   
(member x ’(strange weird odd peculiar)))    

SEE ALSO

declaim(3cl), proclaim(3cl)    

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 Sunday 26 February 2017.