Debian Codegraph @

info/gcl/Some-Exceptions-to-Constraints-on-the-COMMON_002dLISP-Package-for-Conforming-Programs.html

raw
1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2 <html>
3 <!-- Created by GNU Texinfo 6.7, http://www.gnu.org/software/texinfo/ -->
4 <head>
5 <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
6 <title>Some Exceptions to Constraints on the COMMON-LISP Package for Conforming Programs (ANSI and GNU Common Lisp Document)</title>
7
8 <meta name="description" content="Some Exceptions to Constraints on the COMMON-LISP Package for Conforming Programs (ANSI and GNU Common Lisp Document)">
9 <meta name="keywords" content="Some Exceptions to Constraints on the COMMON-LISP Package for Conforming Programs (ANSI and GNU Common Lisp Document)">
10 <meta name="resource-type" content="document">
11 <meta name="distribution" content="global">
12 <meta name="Generator" content="makeinfo">
13 <link href="index.html" rel="start" title="Top">
14 <link href="Standardized-Packages.html" rel="up" title="Standardized Packages">
15 <link href="The-COMMON_002dLISP_002dUSER-Package.html" rel="next" title="The COMMON-LISP-USER Package">
16 <link href="Constraints-on-the-COMMON_002dLISP-Package-for-Conforming-Programs.html" rel="prev" title="Constraints on the COMMON-LISP Package for Conforming Programs">
17 <style type="text/css">
18 <!--
19 a.summary-letter {text-decoration: none}
20 blockquote.indentedblock {margin-right: 0em}
21 div.display {margin-left: 3.2em}
22 div.example {margin-left: 3.2em}
23 div.lisp {margin-left: 3.2em}
24 kbd {font-style: oblique}
25 pre.display {font-family: inherit}
26 pre.format {font-family: inherit}
27 pre.menu-comment {font-family: serif}
28 pre.menu-preformatted {font-family: serif}
29 span.nolinebreak {white-space: nowrap}
30 span.roman {font-family: initial; font-weight: normal}
31 span.sansserif {font-family: sans-serif; font-weight: normal}
32 ul.no-bullet {list-style: none}
33 -->
34 </style>
35
36
37 </head>
38
39 <body lang="en">
40 <span id="Some-Exceptions-to-Constraints-on-the-COMMON_002dLISP-Package-for-Conforming-Programs"></span><div class="header">
41 <p>
42 Next: <a href="The-COMMON_002dLISP_002dUSER-Package.html" accesskey="n" rel="next">The COMMON-LISP-USER Package</a>, Previous: <a href="Constraints-on-the-COMMON_002dLISP-Package-for-Conforming-Programs.html" accesskey="p" rel="prev">Constraints on the COMMON-LISP Package for Conforming Programs</a>, Up: <a href="Standardized-Packages.html" accesskey="u" rel="up">Standardized Packages</a> &nbsp; </p>
43 </div>
44 <hr>
45 <span id="Some-Exceptions-to-Constraints-on-the-COMMON_002dLISP-Package-for-Conforming-Programs-1"></span><h4 class="subsubsection">11.1.2.4 Some Exceptions to Constraints on the COMMON-LISP Package for Conforming Programs</h4>
46
47 <p>If an <i>external symbol</i> of the <tt>COMMON-LISP</tt> <i>package</i>
48 is not globally defined as a <i>standardized</i> <i>dynamic variable</i>
49 or <i>constant variable</i>,
50 it is allowed to lexically <i>bind</i> it
51 and to declare the <b>type</b> of that <i>binding</i>,
52 and
53 it is allowed to locally <i>establish</i> it as a <i>symbol macro</i>
54 (<i>e.g.</i>, with <b>symbol-macrolet</b>).
55 </p>
56 <p>Unless explicitly specified otherwise,
57 if an <i>external symbol</i> of the <tt>COMMON-LISP</tt> <i>package</i>
58 is globally defined as a <i>standardized</i> <i>dynamic variable</i>,
59 it is permitted to <i>bind</i> or <i>assign</i> that <i>dynamic variable</i>
60 provided that the &ldquo;Value Type&rdquo; constraints on the <i>dynamic variable</i>
61 are maintained, and that the new <i>value</i> of the <i>variable</i>
62 is consistent with the stated purpose of the <i>variable</i>.
63 </p>
64 <p>If an <i>external symbol</i> of the <tt>COMMON-LISP</tt> <i>package</i> is not defined
65 as a <i>standardized</i> <i>function</i>, <i>macro</i>, or <i>special operator</i>,
66 it is allowed to lexically <i>bind</i> it as a <i>function</i> (<i>e.g.</i>, with <b>flet</b>),
67 to declare the <b>ftype</b> of that <i>binding</i>,
68 and
69 (in <i>implementations</i> which provide the ability to do so)
70 to <b>trace</b> that <i>binding</i>.
71 </p>
72 <p>If an <i>external symbol</i> of the <tt>COMMON-LISP</tt> <i>package</i> is not defined
73 as a <i>standardized</i> <i>function</i>, <i>macro</i>, or <i>special operator</i>,
74 it is allowed to lexically <i>bind</i> it as a <i>macro</i> (<i>e.g.</i>, with <b>macrolet</b>).
75 </p>
76 <p>If an <i>external symbol</i> of the <tt>COMMON-LISP</tt> <i>package</i> is not defined
77 as a <i>standardized</i> <i>function</i>, <i>macro</i>, or <i>special operator</i>,
78 it is allowed to lexically <i>bind</i> its <i>setf function name</i>
79 as a <i>function</i>,
80 and to declare the <b>ftype</b> of that <i>binding</i>.
81 </p>
82
83
84
85 </body>
86 </html>