Debian Codegraph @

info/gcl/or-_0028Type-Specifier_0029.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>or (Type Specifier) (ANSI and GNU Common Lisp Document)</title>
7
8 <meta name="description" content="or (Type Specifier) (ANSI and GNU Common Lisp Document)">
9 <meta name="keywords" content="or (Type Specifier) (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="Types-and-Classes-Dictionary.html" rel="up" title="Types and Classes Dictionary">
15 <link href="values-_0028Type-Specifier_0029.html" rel="next" title="values (Type Specifier)">
16 <link href="and-_0028Type-Specifier_0029.html" rel="prev" title="and (Type Specifier)">
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="or-_0028Type-Specifier_0029"></span><div class="header">
41 <p>
42 Next: <a href="values-_0028Type-Specifier_0029.html" accesskey="n" rel="next">values (Type Specifier)</a>, Previous: <a href="and-_0028Type-Specifier_0029.html" accesskey="p" rel="prev">and (Type Specifier)</a>, Up: <a href="Types-and-Classes-Dictionary.html" accesskey="u" rel="up">Types and Classes Dictionary</a> &nbsp; </p>
43 </div>
44 <hr>
45 <span id="or-_005bType-Specifier_005d"></span><h4 class="subsection">4.4.21 or [Type Specifier]</h4>
46
47 <span id="Compound-Type-Specifier-Kind_003a_003a-5"></span><h4 class="subsubheading">Compound Type Specifier Kind::</h4>
48
49 <p>Combining.
50 </p>
51 <span id="Compound-Type-Specifier-Syntax_003a_003a-5"></span><h4 class="subsubheading">Compound Type Specifier Syntax::</h4>
52
53 <p>(<code>or</code>{<i>{<i>typespec</i>}*</i>})
54 </p>
55 <span id="Compound-Type-Specifier-Arguments_003a_003a-5"></span><h4 class="subsubheading">Compound Type Specifier Arguments::</h4>
56
57 <p><i>typespec</i>&mdash;a <i>type specifier</i>.
58 </p>
59 <span id="Compound-Type-Specifier-Description_003a_003a-5"></span><h4 class="subsubheading">Compound Type Specifier Description::</h4>
60
61 <p>This denotes the set of all <i>objects</i> of the
62 <i>type</i> determined by the union of the <i>typespecs</i>.
63 For example, the <i>type</i> <b>list</b> by definition is the same as <tt>(or null cons)</tt>.
64 Also, the value returned by <b>position</b> is an <i>object</i> of <i>type</i> <tt>(or null (integer 0 *))</tt>;
65 <i>i.e.</i>, either <b>nil</b> or a non-negative <i>integer</i>.
66 </p>
67 <p><b>*</b> is not permitted as an argument.
68 </p>
69 <p>The <i>type specifiers</i> <tt>(or)</tt> and <b>nil</b> are equivalent.
70 The symbol <b>or</b> is not valid as a <i>type specifier</i>;
71 and, specifically, it is not an abbreviation for <tt>(or)</tt>.
72 </p>
73
74
75
76 </body>
77 </html>