| 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>General Restrictions on Parameters that must be Lists (ANSI and GNU Common Lisp Document)</title> |
| 7 |
|
| 8 |
<meta name="description" content="General Restrictions on Parameters that must be Lists (ANSI and GNU Common Lisp Document)"> |
| 9 |
<meta name="keywords" content="General Restrictions on Parameters that must be Lists (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-as-Lists.html" rel="up" title="Conses as Lists"> |
| 15 |
<link href="Conses-Dictionary.html" rel="next" title="Conses Dictionary"> |
| 16 |
<link href="Lists-as-Sets.html" rel="prev" title="Lists as Sets"> |
| 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="General-Restrictions-on-Parameters-that-must-be-Lists"></span><div class="header"> |
| 41 |
<p> |
| 42 |
Previous: <a href="Lists-as-Sets.html" accesskey="p" rel="prev">Lists as Sets</a>, Up: <a href="Conses-as-Lists.html" accesskey="u" rel="up">Conses as Lists</a> </p> |
| 43 |
</div> |
| 44 |
<hr> |
| 45 |
<span id="General-Restrictions-on-Parameters-that-must-be-Lists-1"></span><h4 class="subsubsection">14.1.2.3 General Restrictions on Parameters that must be Lists</h4> |
| 46 |
|
| 47 |
<p>Except as explicitly specified otherwise, |
| 48 |
any <i>standardized</i> <i>function</i> that takes a <i>parameter</i> |
| 49 |
that is required to be a <i>list</i> should be prepared to signal |
| 50 |
an error of <i>type</i> <b>type-error</b> if the <i>value</i> received is a <i>dotted list</i>. |
| 51 |
</p> |
| 52 |
<p>Except as explicitly specified otherwise, |
| 53 |
for any <i>standardized</i> <i>function</i> that takes a <i>parameter</i> |
| 54 |
that is required to be a <i>list</i>, |
| 55 |
the consequences are undefined |
| 56 |
if that <i>list</i> is <i>circular</i>. |
| 57 |
</p> |
| 58 |
|
| 59 |
|
| 60 |
|
| 61 |
|
| 62 |
</body> |
| 63 |
</html> |