Debian Codegraph @

info/gcl/in_002dpackage.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>in-package (ANSI and GNU Common Lisp Document)</title>
7
8 <meta name="description" content="in-package (ANSI and GNU Common Lisp Document)">
9 <meta name="keywords" content="in-package (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="Packages-Dictionary.html" rel="up" title="Packages Dictionary">
15 <link href="unuse_002dpackage.html" rel="next" title="unuse-package">
16 <link href="unintern.html" rel="prev" title="unintern">
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="in_002dpackage"></span><div class="header">
41 <p>
42 Next: <a href="unuse_002dpackage.html" accesskey="n" rel="next">unuse-package</a>, Previous: <a href="unintern.html" accesskey="p" rel="prev">unintern</a>, Up: <a href="Packages-Dictionary.html" accesskey="u" rel="up">Packages Dictionary</a> &nbsp; </p>
43 </div>
44 <hr>
45 <span id="in_002dpackage-_005bMacro_005d"></span><h4 class="subsection">11.2.16 in-package [Macro]</h4>
46
47 <p><code>in-package</code> <i>name</i> &rArr; <i>package</i>
48 </p>
49 <span id="Arguments-and-Values_003a_003a-188"></span><h4 class="subsubheading">Arguments and Values::</h4>
50
51 <p><i>name</i>&mdash;a <i>string designator</i>; not evaluated.
52 </p>
53 <p><i>package</i>&mdash;the <i>package</i> named by <i>name</i>.
54 </p>
55 <span id="Description_003a_003a-252"></span><h4 class="subsubheading">Description::</h4>
56
57 <p>Causes the the <i>package</i> named by <i>name</i>
58 to become the <i>current package</i>&mdash;that is, the <i>value</i> of <b>*package*</b>.
59 If no such <i>package</i> already exists, an error of <i>type</i> <b>package-error</b> is signaled.
60 </p>
61 <p>Everything <b>in-package</b> does is also performed at compile time
62 if the call appears as a <i>top level form</i>.
63 </p>
64 <span id="Side-Effects_003a_003a-30"></span><h4 class="subsubheading">Side Effects::</h4>
65
66 <p>The <i>variable</i> <b>*package*</b> is assigned.
67 If the <b>in-package</b> <i>form</i> is a <i>top level form</i>,
68 this assignment also occurs at compile time.
69 </p>
70 <span id="Exceptional-Situations_003a_003a-70"></span><h4 class="subsubheading">Exceptional Situations::</h4>
71
72 <p>An error of <i>type</i> <b>package-error</b> is signaled if the specified <i>package</i> does not exist.
73 </p>
74 <span id="See-Also_003a_003a-224"></span><h4 class="subsubheading">See Also::</h4>
75
76 <p><a href="package.html">package</a>
77 </p>
78
79
80
81 </body>
82 </html>