Debian Codegraph @

info/gcl/Cons-Concepts.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>Cons Concepts (ANSI and GNU Common Lisp Document)</title>
7
8 <meta name="description" content="Cons Concepts (ANSI and GNU Common Lisp Document)">
9 <meta name="keywords" content="Cons Concepts (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="Conses.html" rel="up" title="Conses">
15 <link href="Conses-as-Trees.html" rel="next" title="Conses as Trees">
16 <link href="Conses.html" rel="prev" title="Conses">
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="Cons-Concepts"></span><div class="header">
41 <p>
42 Next: <a href="Conses-Dictionary.html" accesskey="n" rel="next">Conses Dictionary</a>, Previous: <a href="Conses.html" accesskey="p" rel="prev">Conses</a>, Up: <a href="Conses.html" accesskey="u" rel="up">Conses</a> &nbsp; </p>
43 </div>
44 <hr>
45 <span id="Cons-Concepts-1"></span><h3 class="section">14.1 Cons Concepts</h3>
46
47
48 <p>A <i>cons</i>
49 <span id="index-cons"></span>
50 is a compound data <i>object</i>
51 having two components called the <i>car</i> and the <i>cdr</i>.
52 </p>
53 <div class="format">
54 <pre class="format"> car cons rplacd <!-- /@w -->
55 cdr rplaca <!-- /@w -->
56
57 Figure 14&ndash;1: Some defined names relating to conses.<!-- /@w -->
58
59 </pre></div>
60
61 <p>Depending on context, a group of connected <i>conses</i> can be viewed
62 in a variety of different ways. A variety of operations is provided to
63 support each of these various views.
64 </p>
65 <table class="menu" border="0" cellspacing="0">
66 <tr><td align="left" valign="top">&bull; <a href="Conses-as-Trees.html" accesskey="1">Conses as Trees</a></td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
67 </td></tr>
68 <tr><td align="left" valign="top">&bull; <a href="Conses-as-Lists.html" accesskey="2">Conses as Lists</a></td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
69 </td></tr>
70 </table>
71
72
73
74
75 </body>
76 </html>