| 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>makunbound (ANSI and GNU Common Lisp Document)</title> |
| 7 |
|
| 8 |
<meta name="description" content="makunbound (ANSI and GNU Common Lisp Document)"> |
| 9 |
<meta name="keywords" content="makunbound (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="Symbols-Dictionary.html" rel="up" title="Symbols Dictionary"> |
| 15 |
<link href="set.html" rel="next" title="set"> |
| 16 |
<link href="boundp.html" rel="prev" title="boundp"> |
| 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="makunbound"></span><div class="header"> |
| 41 |
<p> |
| 42 |
Next: <a href="set.html" accesskey="n" rel="next">set</a>, Previous: <a href="boundp.html" accesskey="p" rel="prev">boundp</a>, Up: <a href="Symbols-Dictionary.html" accesskey="u" rel="up">Symbols Dictionary</a> </p> |
| 43 |
</div> |
| 44 |
<hr> |
| 45 |
<span id="makunbound-_005bFunction_005d"></span><h4 class="subsection">10.2.18 makunbound [Function]</h4> |
| 46 |
|
| 47 |
<p><code>makunbound</code> <i>symbol</i> ⇒ <i>symbol</i> |
| 48 |
</p> |
| 49 |
<span id="Arguments-and-Values_003a_003a-172"></span><h4 class="subsubheading">Arguments and Values::</h4> |
| 50 |
|
| 51 |
<p><i>symbol</i>—a <i>symbol</i> |
| 52 |
</p> |
| 53 |
<span id="Description_003a_003a-234"></span><h4 class="subsubheading">Description::</h4> |
| 54 |
|
| 55 |
<p>Makes the <i>symbol</i> be <i>unbound</i>, |
| 56 |
regardless of whether it was previously <i>bound</i>. |
| 57 |
</p> |
| 58 |
<span id="Examples_003a_003a-155"></span><h4 class="subsubheading">Examples::</h4> |
| 59 |
|
| 60 |
<div class="example"> |
| 61 |
<pre class="example"> (setf (symbol-value 'a) 1) |
| 62 |
(boundp 'a) ⇒ <i>true</i> |
| 63 |
a ⇒ 1 |
| 64 |
(makunbound 'a) ⇒ A |
| 65 |
(boundp 'a) ⇒ <i>false</i> |
| 66 |
</pre></div> |
| 67 |
|
| 68 |
<span id="Side-Effects_003a_003a-22"></span><h4 class="subsubheading">Side Effects::</h4> |
| 69 |
|
| 70 |
<p>The <i>value cell</i> of <i>symbol</i> is modified. |
| 71 |
</p> |
| 72 |
<span id="Exceptional-Situations_003a_003a-62"></span><h4 class="subsubheading">Exceptional Situations::</h4> |
| 73 |
|
| 74 |
<p>Should signal an error of <i>type</i> <b>type-error</b> |
| 75 |
if <i>symbol</i> is not a <i>symbol</i>. |
| 76 |
</p> |
| 77 |
<span id="See-Also_003a_003a-207"></span><h4 class="subsubheading">See Also::</h4> |
| 78 |
|
| 79 |
<p><a href="boundp.html">boundp</a> |
| 80 |
, |
| 81 |
<a href="fmakunbound.html">fmakunbound</a> |
| 82 |
</p> |
| 83 |
|
| 84 |
|
| 85 |
|
| 86 |
</body> |
| 87 |
</html> |