* BNF for "Advanced Student" of DrRacket
authormitty <mitty@7d2118f6-f56c-43e7-95a2-4bb3031d96e7>
Tue, 19 Oct 2010 13:11:51 +0000 (13:11 +0000)
committermitty <mitty@7d2118f6-f56c-43e7-95a2-4bb3031d96e7>
Tue, 19 Oct 2010 13:11:51 +0000 (13:11 +0000)
   * from http://docs.racket-lang.org/htdp-langs/advanced.html with Firefox 3.6.10

git-svn-id: https://lab.mitty.jp/svn/lab/vendor@70 7d2118f6-f56c-43e7-95a2-4bb3031d96e7

DrRacket/advanced.html [new file with mode: 0644]
DrRacket/advanced_files/racket.css [new file with mode: 0644]
DrRacket/advanced_files/scribble-common.js [new file with mode: 0644]
DrRacket/advanced_files/scribble.css [new file with mode: 0644]

diff --git a/DrRacket/advanced.html b/DrRacket/advanced.html
new file mode 100644 (file)
index 0000000..6de6341
--- /dev/null
@@ -0,0 +1,13 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html><head>
+<meta http-equiv="content-type" content="text/html; charset=UTF-8"><title>5&nbsp;Advanced Student</title><link rel="stylesheet" type="text/css" href="advanced_files/scribble.css" title="default"><link rel="stylesheet" type="text/css" href="advanced_files/racket.css" title="default"><link rel="stylesheet" type="text/css" href="advanced_files/scribble-style.css" title="default"><script type="text/javascript" src="advanced_files/scribble-common.js"></script></head><body id="doc-racket-lang-org"><div class="tocset"><div class="tocview"><div class="tocviewlist" style="margin-bottom: 1em;"><div class="tocviewtitle"><table cellpadding="0" cellspacing="0"><tbody><tr><td style="width: 1em;"><a href="javascript:void(0);" title="Expand/Collapse" class="tocviewtoggle" onclick='TocviewToggle(this,"tocview_0");'>笆コ</a></td><td></td><td><a href="http://docs.racket-lang.org/htdp-langs/index.html" class="tocviewlink" pltdoc="x"><span style="font-style: italic;">How to Design Programs</span> Languages</a></td></tr></tbody></table></div><div class="tocviewsublisttop" style="display: none;" id="tocview_0"><table cellpadding="0" cellspacing="0"><tbody><tr><td align="right">1&nbsp;</td><td><a href="http://docs.racket-lang.org/htdp-langs/beginner.html" class="tocviewlink" pltdoc="x">Beginning Student</a></td></tr><tr><td align="right">2&nbsp;</td><td><a href="http://docs.racket-lang.org/htdp-langs/beginner-abbr.html" class="tocviewlink" pltdoc="x">Beginning Student with List Abbreviations</a></td></tr><tr><td align="right">3&nbsp;</td><td><a href="http://docs.racket-lang.org/htdp-langs/intermediate.html" class="tocviewlink" pltdoc="x">Intermediate Student</a></td></tr><tr><td align="right">4&nbsp;</td><td><a href="http://docs.racket-lang.org/htdp-langs/intermediate-lam.html" class="tocviewlink" pltdoc="x">Intermediate Student with Lambda</a></td></tr><tr><td align="right">5&nbsp;</td><td><a href="" class="tocviewselflink" pltdoc="x">Advanced Student</a></td></tr><tr><td align="right"></td><td><a href="http://docs.racket-lang.org/htdp-langs/doc-index.html" class="tocviewlink" pltdoc="x">Index</a></td></tr></tbody></table></div></div><div class="tocviewlist"><table cellpadding="0" cellspacing="0"><tbody><tr><td style="width: 1em;"><a href="javascript:void(0);" title="Expand/Collapse" class="tocviewtoggle" onclick='TocviewToggle(this,"tocview_1");'>▼</a></td><td>5&nbsp;</td><td><a href="" class="tocviewselflink" pltdoc="x">Advanced Student</a></td></tr></tbody></table><div class="tocviewsublistbottom" style="display: block;" id="tocview_1"><table cellpadding="0" cellspacing="0"><tbody><tr><td align="right">5.1&nbsp;</td><td><a href="http://docs.racket-lang.org/htdp-langs/advanced-define.html" class="tocviewlink" pltdoc="x"><span class="RktSym"><span class="RktStxLink">define</span></span></a></td></tr><tr><td align="right">5.2&nbsp;</td><td><a href="http://docs.racket-lang.org/htdp-langs/advanced-define-struct.html" class="tocviewlink" pltdoc="x"><span class="RktSym"><span class="RktStxLink">define-<wbr>struct</span></span></a></td></tr><tr><td align="right">5.3&nbsp;</td><td><a href="http://docs.racket-lang.org/htdp-langs/advanced-lambda.html" class="tocviewlink" pltdoc="x"><span class="RktSym"><span class="RktStxLink">lambda</span></span></a></td></tr><tr><td align="right">5.4&nbsp;</td><td><a href="http://docs.racket-lang.org/htdp-langs/advanced-call.html" class="tocviewlink" pltdoc="x">Function Calls</a></td></tr><tr><td align="right">5.5&nbsp;</td><td><a href="http://docs.racket-lang.org/htdp-langs/begin.html" class="tocviewlink" pltdoc="x"><span class="RktSym"><span class="RktStxLink">begin</span></span></a></td></tr><tr><td align="right">5.6&nbsp;</td><td><a href="http://docs.racket-lang.org/htdp-langs/begin0.html" class="tocviewlink" pltdoc="x"><span class="RktSym"><span class="RktStxLink">begin0</span></span></a></td></tr><tr><td align="right">5.7&nbsp;</td><td><a href="http://docs.racket-lang.org/htdp-langs/set_.html" class="tocviewlink" pltdoc="x"><span class="RktSym"><span class="RktStxLink">set!</span></span></a></td></tr><tr><td align="right">5.8&nbsp;</td><td><a href="http://docs.racket-lang.org/htdp-langs/delay.html" class="tocviewlink" pltdoc="x"><span class="RktSym"><span class="RktStxLink">delay</span></span></a></td></tr><tr><td align="right">5.9&nbsp;</td><td><a href="http://docs.racket-lang.org/htdp-langs/shared.html" class="tocviewlink" pltdoc="x"><span class="RktSym"><span class="RktStxLink">shared</span></span></a></td></tr><tr><td align="right">5.10&nbsp;</td><td><a href="http://docs.racket-lang.org/htdp-langs/advanced-let.html" class="tocviewlink" pltdoc="x"><span class="RktSym"><span class="RktStxLink">let</span></span></a></td></tr><tr><td align="right">5.11&nbsp;</td><td><a href="http://docs.racket-lang.org/htdp-langs/recur.html" class="tocviewlink" pltdoc="x"><span class="RktSym"><span class="RktStxLink">recur</span></span></a></td></tr><tr><td align="right">5.12&nbsp;</td><td><a href="http://docs.racket-lang.org/htdp-langs/case.html" class="tocviewlink" pltdoc="x"><span class="RktSym"><span class="RktStxLink">case</span></span></a></td></tr><tr><td align="right">5.13&nbsp;</td><td><a href="http://docs.racket-lang.org/htdp-langs/when_and_unless.html" class="tocviewlink" pltdoc="x"><span class="RktSym"><span class="RktStxLink">when</span></span> and <span class="RktSym"><span class="RktStxLink">unless</span></span></a></td></tr><tr><td align="right">5.14&nbsp;</td><td><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html" class="tocviewlink" pltdoc="x">Primitive Operations</a></td></tr><tr><td align="right">5.15&nbsp;</td><td><a href="http://docs.racket-lang.org/htdp-langs/advanced-unchanged.html" class="tocviewlink" pltdoc="x">Unchanged Forms</a></td></tr></tbody></table></div></div></div></div><div class="maincolumn"><div class="main"><div class="navsettop"><span class="navleft"><form class="searchform"><input class="searchbox" style="color: rgb(136, 136, 136);" value="...search manuals..." title="Enter a search string to search the manuals" onkeypress='return DoSearchKey(event, this, "5.0.1", "../");' onfocus='this.style.color="black"; this.style.textAlign="left"; if (this.value == "...search manuals...") this.value="";' onblur='if (this.value.match(/^ *$/)) { this.style.color="#888"; this.style.textAlign="center"; this.value="...search manuals..."; }' type="text"></form>&nbsp;&nbsp;<a href="http://docs.racket-lang.org/index.html" title="up to the documentation top" pltdoc="x" onclick='return GotoPLTRoot("5.0.1");'>top</a></span><span class="navright"><a href="http://docs.racket-lang.org/htdp-langs/intermediate-lambda-unchanged.html" title="backward to &quot;4.5 Unchanged Forms&quot;" pltdoc="x">← prev</a>&nbsp;&nbsp;<a href="http://docs.racket-lang.org/htdp-langs/index.html" title="up to &quot;How to Design Programs Languages&quot;" pltdoc="x">up</a>&nbsp;&nbsp;<a href="http://docs.racket-lang.org/htdp-langs/advanced-define.html" title="forward to &quot;5.1 define&quot;" pltdoc="x">next →</a></span>&nbsp;</div><h3>5<tt>&nbsp;</tt><a name="(part._advanced)"></a>Advanced Student</h3><p><table cellspacing="0"><tbody><tr><td valign="baseline" align="right"><span class="hspace">&nbsp;&nbsp;</span><span class="RktVar">program</span></td><td valign="baseline" align="left"><span class="stt">&nbsp;</span></td><td valign="baseline" align="center">=</td><td valign="baseline" align="left"><span class="stt">&nbsp;</span></td><td valign="baseline" align="left"><span class="RktVar">def-or-expr</span><span class="hspace">&nbsp;</span><span class="RktSym">...</span></td></tr><tr><td valign="baseline" align="right"><span class="stt">&nbsp;</span></td><td valign="baseline" align="left"><span class="stt">&nbsp;</span></td><td valign="baseline" align="center"><span class="stt">&nbsp;</span></td><td valign="baseline" align="left"><span class="stt">&nbsp;</span></td><td valign="baseline" align="left"><span class="stt">&nbsp;</span></td></tr><tr><td valign="baseline" align="right"><span class="hspace">&nbsp;&nbsp;</span><span class="RktVar">def-or-expr</span></td><td valign="baseline" align="left"><span class="stt">&nbsp;</span></td><td valign="baseline" align="center">=</td><td valign="baseline" align="left"><span class="stt">&nbsp;</span></td><td valign="baseline" align="left"><span class="RktVar">definition</span></td></tr><tr><td valign="baseline" align="right"><span class="stt">&nbsp;</span></td><td valign="baseline" align="left"><span class="stt">&nbsp;</span></td><td valign="baseline" align="center">|</td><td valign="baseline" align="left"><span class="stt">&nbsp;</span></td><td valign="baseline" align="left"><span class="RktVar">expr</span></td></tr><tr><td valign="baseline" align="right"><span class="stt">&nbsp;</span></td><td valign="baseline" align="left"><span class="stt">&nbsp;</span></td><td valign="baseline" align="center">|</td><td valign="baseline" align="left"><span class="stt">&nbsp;</span></td><td valign="baseline" align="left"><span class="RktVar">test-case</span></td></tr><tr><td valign="baseline" align="right"><span class="stt">&nbsp;</span></td><td valign="baseline" align="left"><span class="stt">&nbsp;</span></td><td valign="baseline" align="center">|</td><td valign="baseline" align="left"><span class="stt">&nbsp;</span></td><td valign="baseline" align="left"><span class="RktVar">library-require</span></td></tr><tr><td valign="baseline" align="right"><span class="stt">&nbsp;</span></td><td valign="baseline" align="left"><span class="stt">&nbsp;</span></td><td valign="baseline" align="center"><span class="stt">&nbsp;</span></td><td valign="baseline" align="left"><span class="stt">&nbsp;</span></td><td valign="baseline" align="left"><span class="stt">&nbsp;</span></td></tr><tr><td valign="baseline" align="right"><span class="hspace">&nbsp;&nbsp;</span><span class="RktVar">definition</span></td><td valign="baseline" align="left"><span class="stt">&nbsp;</span></td><td valign="baseline" align="center">=</td><td valign="baseline" align="left"><span class="stt">&nbsp;</span></td><td valign="baseline" align="left"><span class="RktPn">(</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-define.html#%28form._%28%28lib._lang/htdp-advanced..rkt%29._define%29%29" class="RktStxLink" pltdoc="x">define</a></span><span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktVar">id</span><span class="hspace">&nbsp;</span><span class="RktVar">id</span><span class="hspace">&nbsp;</span><span class="RktVar">id</span><span class="hspace">&nbsp;</span><span class="RktSym">...</span><span class="RktPn">)</span><span class="hspace">&nbsp;</span><span class="RktVar">expr</span><span class="RktPn">)</span></td></tr><tr><td valign="baseline" align="right"><span class="stt">&nbsp;</span></td><td valign="baseline" align="left"><span class="stt">&nbsp;</span></td><td valign="baseline" align="center">|</td><td valign="baseline" align="left"><span class="stt">&nbsp;</span></td><td valign="baseline" align="left"><span class="RktPn">(</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-define.html#%28form._%28%28lib._lang/htdp-advanced..rkt%29._define%29%29" class="RktStxLink" pltdoc="x">define</a></span><span class="hspace">&nbsp;</span><span class="RktVar">id</span><span class="hspace">&nbsp;</span><span class="RktVar">expr</span><span class="RktPn">)</span></td></tr><tr><td valign="baseline" align="right"><span class="stt">&nbsp;</span></td><td valign="baseline" align="left"><span class="stt">&nbsp;</span></td><td valign="baseline" align="center">|</td><td valign="baseline" align="left"><span class="stt">&nbsp;</span></td><td valign="baseline" align="left"><span class="RktPn">(</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-define-struct.html#%28form._%28%28lib._lang/htdp-advanced..rkt%29._define-struct%29%29" class="RktStxLink" pltdoc="x">define-struct</a></span><span class="hspace">&nbsp;</span><span class="RktVar">id</span><span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktVar">id</span><span class="hspace">&nbsp;</span><span class="RktSym">...</span><span class="RktPn">)</span><span class="RktPn">)</span></td></tr><tr><td valign="baseline" align="right"><span class="stt">&nbsp;</span></td><td valign="baseline" align="left"><span class="stt">&nbsp;</span></td><td valign="baseline" align="center"><span class="stt">&nbsp;</span></td><td valign="baseline" align="left"><span class="stt">&nbsp;</span></td><td valign="baseline" align="left"><span class="stt">&nbsp;</span></td></tr><tr><td valign="baseline" align="right"><span class="hspace">&nbsp;&nbsp;</span><span class="RktVar">expr</span></td><td valign="baseline" align="left"><span class="stt">&nbsp;</span></td><td valign="baseline" align="center">=</td><td valign="baseline" align="left"><span class="stt">&nbsp;</span></td><td valign="baseline" align="left"><span class="RktPn">(</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/begin.html#%28form._%28%28lib._lang/htdp-advanced..rkt%29._begin%29%29" class="RktStxLink" pltdoc="x">begin</a></span><span class="hspace">&nbsp;</span><span class="RktVar">expr</span><span class="hspace">&nbsp;</span><span class="RktVar">expr</span><span class="hspace">&nbsp;</span><span class="RktSym">...</span><span class="RktPn">)</span></td></tr><tr><td valign="baseline" align="right"><span class="stt">&nbsp;</span></td><td valign="baseline" align="left"><span class="stt">&nbsp;</span></td><td valign="baseline" align="center">|</td><td valign="baseline" align="left"><span class="stt">&nbsp;</span></td><td valign="baseline" align="left"><span class="RktPn">(</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/begin0.html#%28form._%28%28lib._lang/htdp-advanced..rkt%29._begin0%29%29" class="RktStxLink" pltdoc="x">begin0</a></span><span class="hspace">&nbsp;</span><span class="RktVar">expr</span><span class="hspace">&nbsp;</span><span class="RktVar">expr</span><span class="hspace">&nbsp;</span><span class="RktSym">...</span><span class="RktPn">)</span></td></tr><tr><td valign="baseline" align="right"><span class="stt">&nbsp;</span></td><td valign="baseline" align="left"><span class="stt">&nbsp;</span></td><td valign="baseline" align="center">|</td><td valign="baseline" align="left"><span class="stt">&nbsp;</span></td><td valign="baseline" align="left"><span class="RktPn">(</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/set_.html#%28form._%28%28lib._lang/htdp-advanced..rkt%29._set%21%29%29" class="RktStxLink" pltdoc="x">set!</a></span><span class="hspace">&nbsp;</span><span class="RktVar">id</span><span class="hspace">&nbsp;</span><span class="RktVar">expr</span><span class="RktPn">)</span></td></tr><tr><td valign="baseline" align="right"><span class="stt">&nbsp;</span></td><td valign="baseline" align="left"><span class="stt">&nbsp;</span></td><td valign="baseline" align="center">|</td><td valign="baseline" align="left"><span class="stt">&nbsp;</span></td><td valign="baseline" align="left"><span class="RktPn">(</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/delay.html#%28form._%28%28lib._lang/htdp-advanced..rkt%29._delay%29%29" class="RktStxLink" pltdoc="x">delay</a></span><span class="hspace">&nbsp;</span><span class="RktVar">expr</span><span class="RktPn">)</span></td></tr><tr><td valign="baseline" align="right"><span class="stt">&nbsp;</span></td><td valign="baseline" align="left"><span class="stt">&nbsp;</span></td><td valign="baseline" align="center">|</td><td valign="baseline" align="left"><span class="stt">&nbsp;</span></td><td valign="baseline" align="left"><span class="RktPn">(</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-lambda.html#%28form._%28%28lib._lang/htdp-advanced..rkt%29._lambda%29%29" class="RktStxLink" pltdoc="x">lambda</a></span><span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktVar">id</span><span class="hspace">&nbsp;</span><span class="RktSym">...</span><span class="RktPn">)</span><span class="hspace">&nbsp;</span><span class="RktVar">expr</span><span class="RktPn">)</span></td></tr><tr><td valign="baseline" align="right"><span class="stt">&nbsp;</span></td><td valign="baseline" align="left"><span class="stt">&nbsp;</span></td><td valign="baseline" align="center">|</td><td valign="baseline" align="left"><span class="stt">&nbsp;</span></td><td valign="baseline" align="left"><span class="RktPn">(</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-lambda.html#%28form._%28%28lib._lang/htdp-advanced..rkt%29._%7Ece%7Ebb%29%29" class="RktStxLink" pltdoc="x">λ</a></span><span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktVar">id</span><span class="hspace">&nbsp;</span><span class="RktSym">...</span><span class="RktPn">)</span><span class="hspace">&nbsp;</span><span class="RktVar">expr</span><span class="RktPn">)</span></td></tr><tr><td valign="baseline" align="right"><span class="stt">&nbsp;</span></td><td valign="baseline" align="left"><span class="stt">&nbsp;</span></td><td valign="baseline" align="center">|</td><td valign="baseline" align="left"><span class="stt">&nbsp;</span></td><td valign="baseline" align="left"><span class="RktPn">(</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-unchanged.html#%28form._%28%28lib._lang/htdp-advanced..rkt%29._local%29%29" class="RktStxLink" pltdoc="x">local</a></span><span class="hspace">&nbsp;</span><span class="RktPn">[</span><span class="RktVar">definition</span><span class="hspace">&nbsp;</span><span class="RktSym">...</span><span class="RktPn">]</span><span class="hspace">&nbsp;</span><span class="RktVar">expr</span><span class="RktPn">)</span></td></tr><tr><td valign="baseline" align="right"><span class="stt">&nbsp;</span></td><td valign="baseline" align="left"><span class="stt">&nbsp;</span></td><td valign="baseline" align="center">|</td><td valign="baseline" align="left"><span class="stt">&nbsp;</span></td><td valign="baseline" align="left"><span class="RktPn">(</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-unchanged.html#%28form._%28%28lib._lang/htdp-advanced..rkt%29._letrec%29%29" class="RktStxLink" pltdoc="x">letrec</a></span><span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktPn">[</span><span class="RktVar">id</span><span class="hspace">&nbsp;</span><span class="RktVar">expr</span><span class="RktPn">]</span><span class="hspace">&nbsp;</span><span class="RktSym">...</span><span class="RktPn">)</span><span class="hspace">&nbsp;</span><span class="RktVar">expr</span><span class="RktPn">)</span></td></tr><tr><td valign="baseline" align="right"><span class="stt">&nbsp;</span></td><td valign="baseline" align="left"><span class="stt">&nbsp;</span></td><td valign="baseline" align="center">|</td><td valign="baseline" align="left"><span class="stt">&nbsp;</span></td><td valign="baseline" align="left"><span class="RktPn">(</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/shared.html#%28form._%28%28lib._lang/htdp-advanced..rkt%29._shared%29%29" class="RktStxLink" pltdoc="x">shared</a></span><span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktPn">[</span><span class="RktVar">id</span><span class="hspace">&nbsp;</span><span class="RktVar">expr</span><span class="RktPn">]</span><span class="hspace">&nbsp;</span><span class="RktSym">...</span><span class="RktPn">)</span><span class="hspace">&nbsp;</span><span class="RktVar">expr</span><span class="RktPn">)</span></td></tr><tr><td valign="baseline" align="right"><span class="stt">&nbsp;</span></td><td valign="baseline" align="left"><span class="stt">&nbsp;</span></td><td valign="baseline" align="center">|</td><td valign="baseline" align="left"><span class="stt">&nbsp;</span></td><td valign="baseline" align="left"><span class="RktPn">(</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-let.html#%28form._%28%28lib._lang/htdp-advanced..rkt%29._let%29%29" class="RktStxLink" pltdoc="x">let</a></span><span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktPn">[</span><span class="RktVar">id</span><span class="hspace">&nbsp;</span><span class="RktVar">expr</span><span class="RktPn">]</span><span class="hspace">&nbsp;</span><span class="RktSym">...</span><span class="RktPn">)</span><span class="hspace">&nbsp;</span><span class="RktVar">expr</span><span class="RktPn">)</span></td></tr><tr><td valign="baseline" align="right"><span class="stt">&nbsp;</span></td><td valign="baseline" align="left"><span class="stt">&nbsp;</span></td><td valign="baseline" align="center">|</td><td valign="baseline" align="left"><span class="stt">&nbsp;</span></td><td valign="baseline" align="left"><span class="RktPn">(</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-let.html#%28form._%28%28lib._lang/htdp-advanced..rkt%29._let%29%29" class="RktStxLink" pltdoc="x">let</a></span><span class="hspace">&nbsp;</span><span class="RktVar">id</span><span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktPn">[</span><span class="RktVar">id</span><span class="hspace">&nbsp;</span><span class="RktVar">expr</span><span class="RktPn">]</span><span class="hspace">&nbsp;</span><span class="RktSym">...</span><span class="RktPn">)</span><span class="hspace">&nbsp;</span><span class="RktVar">expr</span><span class="RktPn">)</span></td></tr><tr><td valign="baseline" align="right"><span class="stt">&nbsp;</span></td><td valign="baseline" align="left"><span class="stt">&nbsp;</span></td><td valign="baseline" align="center">|</td><td valign="baseline" align="left"><span class="stt">&nbsp;</span></td><td valign="baseline" align="left"><span class="RktPn">(</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-unchanged.html#%28form._%28%28lib._lang/htdp-advanced..rkt%29._let*%29%29" class="RktStxLink" pltdoc="x">let*</a></span><span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktPn">[</span><span class="RktVar">id</span><span class="hspace">&nbsp;</span><span class="RktVar">expr</span><span class="RktPn">]</span><span class="hspace">&nbsp;</span><span class="RktSym">...</span><span class="RktPn">)</span><span class="hspace">&nbsp;</span><span class="RktVar">expr</span><span class="RktPn">)</span></td></tr><tr><td valign="baseline" align="right"><span class="stt">&nbsp;</span></td><td valign="baseline" align="left"><span class="stt">&nbsp;</span></td><td valign="baseline" align="center">|</td><td valign="baseline" align="left"><span class="stt">&nbsp;</span></td><td valign="baseline" align="left"><span class="RktPn">(</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/recur.html#%28form._%28%28lib._lang/htdp-advanced..rkt%29._recur%29%29" class="RktStxLink" pltdoc="x">recur</a></span><span class="hspace">&nbsp;</span><span class="RktVar">id</span><span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktPn">[</span><span class="RktVar">id</span><span class="hspace">&nbsp;</span><span class="RktVar">expr</span><span class="RktPn">]</span><span class="hspace">&nbsp;</span><span class="RktSym">...</span><span class="RktPn">)</span><span class="hspace">&nbsp;</span><span class="RktVar">expr</span><span class="RktPn">)</span></td></tr><tr><td valign="baseline" align="right"><span class="stt">&nbsp;</span></td><td valign="baseline" align="left"><span class="stt">&nbsp;</span></td><td valign="baseline" align="center">|</td><td valign="baseline" align="left"><span class="stt">&nbsp;</span></td><td valign="baseline" align="left"><span class="RktPn">(</span><span class="RktVar">expr</span><span class="hspace">&nbsp;</span><span class="RktVar">expr</span><span class="hspace">&nbsp;</span><span class="RktSym">...</span><span class="RktPn">)</span><span class="hspace">&nbsp;</span><span class="RktCmt">;</span><span class="RktCmt">&nbsp;</span><span class="RktCmt"><a href="http://docs.racket-lang.org/htdp-langs/advanced-call.html" pltdoc="x">function call</a></span></td></tr><tr><td valign="baseline" align="right"><span class="stt">&nbsp;</span></td><td valign="baseline" align="left"><span class="stt">&nbsp;</span></td><td valign="baseline" align="center">|</td><td valign="baseline" align="left"><span class="stt">&nbsp;</span></td><td valign="baseline" align="left"><span class="RktPn">(</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-unchanged.html#%28form._%28%28lib._lang/htdp-advanced..rkt%29._cond%29%29" class="RktStxLink" pltdoc="x">cond</a></span><span class="hspace">&nbsp;</span><span class="RktPn">[</span><span class="RktVar">expr</span><span class="hspace">&nbsp;</span><span class="RktVar">expr</span><span class="RktPn">]</span><span class="hspace">&nbsp;</span><span class="RktSym">...</span><span class="hspace">&nbsp;</span><span class="RktPn">[</span><span class="RktVar">expr</span><span class="hspace">&nbsp;</span><span class="RktVar">expr</span><span class="RktPn">]</span><span class="RktPn">)</span></td></tr><tr><td valign="baseline" align="right"><span class="stt">&nbsp;</span></td><td valign="baseline" align="left"><span class="stt">&nbsp;</span></td><td valign="baseline" align="center">|</td><td valign="baseline" align="left"><span class="stt">&nbsp;</span></td><td valign="baseline" align="left"><span class="RktPn">(</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-unchanged.html#%28form._%28%28lib._lang/htdp-advanced..rkt%29._cond%29%29" class="RktStxLink" pltdoc="x">cond</a></span><span class="hspace">&nbsp;</span><span class="RktPn">[</span><span class="RktVar">expr</span><span class="hspace">&nbsp;</span><span class="RktVar">expr</span><span class="RktPn">]</span><span class="hspace">&nbsp;</span><span class="RktSym">...</span><span class="hspace">&nbsp;</span><span class="RktPn">[</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-unchanged.html#%28form._%28%28lib._lang/htdp-advanced..rkt%29._else%29%29" class="RktStxLink" pltdoc="x">else</a></span><span class="hspace">&nbsp;</span><span class="RktVar">expr</span><span class="RktPn">]</span><span class="RktPn">)</span></td></tr><tr><td valign="baseline" align="right"><span class="stt">&nbsp;</span></td><td valign="baseline" align="left"><span class="stt">&nbsp;</span></td><td valign="baseline" align="center">|</td><td valign="baseline" align="left"><span class="stt">&nbsp;</span></td><td valign="baseline" align="left"><table class="RktBlk" cellspacing="0"><tbody><tr><td><span class="RktPn">(</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/case.html#%28form._%28%28lib._lang/htdp-advanced..rkt%29._case%29%29" class="RktStxLink" pltdoc="x">case</a></span><span class="hspace">&nbsp;</span><span class="RktVar">expr</span><span class="hspace">&nbsp;</span><span class="RktPn">[</span><span class="RktPn">(</span><span class="RktVar">choice</span><span class="hspace">&nbsp;</span><span class="RktVar">choice</span><span class="hspace">&nbsp;</span><span class="RktSym">...</span><span class="RktPn">)</span><span class="hspace">&nbsp;</span><span class="RktVar">expr</span><span class="RktPn">]</span><span class="hspace">&nbsp;</span><span class="RktSym">...</span></td></tr><tr><td><span class="hspace">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="RktPn">[</span><span class="RktPn">(</span><span class="RktVar">choice</span><span class="hspace">&nbsp;</span><span class="RktVar">choice</span><span class="hspace">&nbsp;</span><span class="RktSym">...</span><span class="RktPn">)</span><span class="hspace">&nbsp;</span><span class="RktVar">expr</span><span class="RktPn">]</span><span class="RktPn">)</span></td></tr></tbody></table></td></tr><tr><td valign="baseline" align="right"><span class="stt">&nbsp;</span></td><td valign="baseline" align="left"><span class="stt">&nbsp;</span></td><td valign="baseline" align="center">|</td><td valign="baseline" align="left"><span class="stt">&nbsp;</span></td><td valign="baseline" align="left"><table class="RktBlk" cellspacing="0"><tbody><tr><td><span class="RktPn">(</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/case.html#%28form._%28%28lib._lang/htdp-advanced..rkt%29._case%29%29" class="RktStxLink" pltdoc="x">case</a></span><span class="hspace">&nbsp;</span><span class="RktVar">expr</span><span class="hspace">&nbsp;</span><span class="RktPn">[</span><span class="RktPn">(</span><span class="RktVar">choice</span><span class="hspace">&nbsp;</span><span class="RktVar">choice</span><span class="hspace">&nbsp;</span><span class="RktSym">...</span><span class="RktPn">)</span><span class="hspace">&nbsp;</span><span class="RktVar">expr</span><span class="RktPn">]</span><span class="hspace">&nbsp;</span><span class="RktSym">...</span></td></tr><tr><td><span class="hspace">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="RktPn">[</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-unchanged.html#%28form._%28%28lib._lang/htdp-advanced..rkt%29._else%29%29" class="RktStxLink" pltdoc="x">else</a></span><span class="hspace">&nbsp;</span><span class="RktVar">expr</span><span class="RktPn">]</span><span class="RktPn">)</span></td></tr></tbody></table></td></tr><tr><td valign="baseline" align="right"><span class="stt">&nbsp;</span></td><td valign="baseline" align="left"><span class="stt">&nbsp;</span></td><td valign="baseline" align="center">|</td><td valign="baseline" align="left"><span class="stt">&nbsp;</span></td><td valign="baseline" align="left"><span class="RktPn">(</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-unchanged.html#%28form._%28%28lib._lang/htdp-advanced..rkt%29._if%29%29" class="RktStxLink" pltdoc="x">if</a></span><span class="hspace">&nbsp;</span><span class="RktVar">expr</span><span class="hspace">&nbsp;</span><span class="RktVar">expr</span><span class="hspace">&nbsp;</span><span class="RktVar">expr</span><span class="RktPn">)</span></td></tr><tr><td valign="baseline" align="right"><span class="stt">&nbsp;</span></td><td valign="baseline" align="left"><span class="stt">&nbsp;</span></td><td valign="baseline" align="center">|</td><td valign="baseline" align="left"><span class="stt">&nbsp;</span></td><td valign="baseline" align="left"><span class="RktPn">(</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/when_and_unless.html#%28form._%28%28lib._lang/htdp-advanced..rkt%29._when%29%29" class="RktStxLink" pltdoc="x">when</a></span><span class="hspace">&nbsp;</span><span class="RktVar">expr</span><span class="hspace">&nbsp;</span><span class="RktVar">expr</span><span class="RktPn">)</span></td></tr><tr><td valign="baseline" align="right"><span class="stt">&nbsp;</span></td><td valign="baseline" align="left"><span class="stt">&nbsp;</span></td><td valign="baseline" align="center">|</td><td valign="baseline" align="left"><span class="stt">&nbsp;</span></td><td valign="baseline" align="left"><span class="RktPn">(</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/when_and_unless.html#%28form._%28%28lib._lang/htdp-advanced..rkt%29._unless%29%29" class="RktStxLink" pltdoc="x">unless</a></span><span class="hspace">&nbsp;</span><span class="RktVar">expr</span><span class="hspace">&nbsp;</span><span class="RktVar">expr</span><span class="RktPn">)</span></td></tr><tr><td valign="baseline" align="right"><span class="stt">&nbsp;</span></td><td valign="baseline" align="left"><span class="stt">&nbsp;</span></td><td valign="baseline" align="center">|</td><td valign="baseline" align="left"><span class="stt">&nbsp;</span></td><td valign="baseline" align="left"><span class="RktPn">(</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-unchanged.html#%28form._%28%28lib._lang/htdp-advanced..rkt%29._and%29%29" class="RktStxLink" pltdoc="x">and</a></span><span class="hspace">&nbsp;</span><span class="RktVar">expr</span><span class="hspace">&nbsp;</span><span class="RktVar">expr</span><span class="hspace">&nbsp;</span><span class="RktVar">expr</span><span class="hspace">&nbsp;</span><span class="RktSym">...</span><span class="RktPn">)</span></td></tr><tr><td valign="baseline" align="right"><span class="stt">&nbsp;</span></td><td valign="baseline" align="left"><span class="stt">&nbsp;</span></td><td valign="baseline" align="center">|</td><td valign="baseline" align="left"><span class="stt">&nbsp;</span></td><td valign="baseline" align="left"><span class="RktPn">(</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-unchanged.html#%28form._%28%28lib._lang/htdp-advanced..rkt%29._or%29%29" class="RktStxLink" pltdoc="x">or</a></span><span class="hspace">&nbsp;</span><span class="RktVar">expr</span><span class="hspace">&nbsp;</span><span class="RktVar">expr</span><span class="hspace">&nbsp;</span><span class="RktVar">expr</span><span class="hspace">&nbsp;</span><span class="RktSym">...</span><span class="RktPn">)</span></td></tr><tr><td valign="baseline" align="right"><span class="stt">&nbsp;</span></td><td valign="baseline" align="left"><span class="stt">&nbsp;</span></td><td valign="baseline" align="center">|</td><td valign="baseline" align="left"><span class="stt">&nbsp;</span></td><td valign="baseline" align="left"><span class="RktPn">(</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-unchanged.html#%28form._%28%28lib._lang/htdp-advanced..rkt%29._time%29%29" class="RktStxLink" pltdoc="x">time</a></span><span class="hspace">&nbsp;</span><span class="RktVar">expr</span><span class="RktPn">)</span></td></tr><tr><td valign="baseline" align="right"><span class="stt">&nbsp;</span></td><td valign="baseline" align="left"><span class="stt">&nbsp;</span></td><td valign="baseline" align="center">|</td><td valign="baseline" align="left"><span class="stt">&nbsp;</span></td><td valign="baseline" align="left"><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-unchanged.html#%28def._%28%28lib._lang/htdp-advanced..rkt%29._empty%29%29" class="RktValLink" pltdoc="x">empty</a></span></td></tr><tr><td valign="baseline" align="right"><span class="stt">&nbsp;</span></td><td valign="baseline" align="left"><span class="stt">&nbsp;</span></td><td valign="baseline" align="center">|</td><td valign="baseline" align="left"><span class="stt">&nbsp;</span></td><td valign="baseline" align="left"><span class="RktVar">id</span><span class="hspace">&nbsp;</span><span class="RktCmt">;</span><span class="RktCmt">&nbsp;</span><span class="RktCmt"><a href="http://docs.racket-lang.org/htdp-langs/intermediate-id.html" pltdoc="x">identifier</a></span></td></tr><tr><td valign="baseline" align="right"><span class="stt">&nbsp;</span></td><td valign="baseline" align="left"><span class="stt">&nbsp;</span></td><td valign="baseline" align="center">|</td><td valign="baseline" align="left"><span class="stt">&nbsp;</span></td><td valign="baseline" align="left"><span class="RktVar">prim-op</span><span class="hspace">&nbsp;</span><span class="RktCmt">;</span><span class="RktCmt">&nbsp;</span><span class="RktCmt"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html" pltdoc="x">primitive operation</a></span></td></tr><tr><td valign="baseline" align="right"><span class="stt">&nbsp;</span></td><td valign="baseline" align="left"><span class="stt">&nbsp;</span></td><td valign="baseline" align="center">|</td><td valign="baseline" align="left"><span class="stt">&nbsp;</span></td><td valign="baseline" align="left"><span class="RktVal">’</span><span class="RktVar">quoted</span><span class="hspace">&nbsp;</span><span class="RktCmt">;</span><span class="RktCmt">&nbsp;</span><span class="RktCmt"><a href="http://docs.racket-lang.org/htdp-langs/beginner-abbr-quote.html" pltdoc="x">quoted value</a></span></td></tr><tr><td valign="baseline" align="right"><span class="stt">&nbsp;</span></td><td valign="baseline" align="left"><span class="stt">&nbsp;</span></td><td valign="baseline" align="center">|</td><td valign="baseline" align="left"><span class="stt">&nbsp;</span></td><td valign="baseline" align="left"><span class="RktVal">`</span><span class="RktVar">quasiquoted</span><span class="hspace">&nbsp;</span><span class="RktCmt">;</span><span class="RktCmt">&nbsp;</span><span class="RktCmt"><a href="http://docs.racket-lang.org/htdp-langs/beginner-abbr-quasiquote.html" pltdoc="x">quasiquote</a></span></td></tr><tr><td valign="baseline" align="right"><span class="stt">&nbsp;</span></td><td valign="baseline" align="left"><span class="stt">&nbsp;</span></td><td valign="baseline" align="center">|</td><td valign="baseline" align="left"><span class="stt">&nbsp;</span></td><td valign="baseline" align="left"><span class="RktVar">number</span></td></tr><tr><td valign="baseline" align="right"><span class="stt">&nbsp;</span></td><td valign="baseline" align="left"><span class="stt">&nbsp;</span></td><td valign="baseline" align="center">|</td><td valign="baseline" align="left"><span class="stt">&nbsp;</span></td><td valign="baseline" align="left"><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-unchanged.html#%28def._%28%28lib._lang/htdp-advanced..rkt%29._true%29%29" class="RktValLink" pltdoc="x">true</a></span></td></tr><tr><td valign="baseline" align="right"><span class="stt">&nbsp;</span></td><td valign="baseline" align="left"><span class="stt">&nbsp;</span></td><td valign="baseline" align="center">|</td><td valign="baseline" align="left"><span class="stt">&nbsp;</span></td><td valign="baseline" align="left"><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-unchanged.html#%28def._%28%28lib._lang/htdp-advanced..rkt%29._false%29%29" class="RktValLink" pltdoc="x">false</a></span></td></tr><tr><td valign="baseline" align="right"><span class="stt">&nbsp;</span></td><td valign="baseline" align="left"><span class="stt">&nbsp;</span></td><td valign="baseline" align="center">|</td><td valign="baseline" align="left"><span class="stt">&nbsp;</span></td><td valign="baseline" align="left"><span class="RktVar">string</span></td></tr><tr><td valign="baseline" align="right"><span class="stt">&nbsp;</span></td><td valign="baseline" align="left"><span class="stt">&nbsp;</span></td><td valign="baseline" align="center">|</td><td valign="baseline" align="left"><span class="stt">&nbsp;</span></td><td valign="baseline" align="left"><span class="RktVar">character</span></td></tr><tr><td valign="baseline" align="right"><span class="stt">&nbsp;</span></td><td valign="baseline" align="left"><span class="stt">&nbsp;</span></td><td valign="baseline" align="center"><span class="stt">&nbsp;</span></td><td valign="baseline" align="left"><span class="stt">&nbsp;</span></td><td valign="baseline" align="left"><span class="stt">&nbsp;</span></td></tr><tr><td valign="baseline" align="right"><span class="hspace">&nbsp;&nbsp;</span><span class="RktVar">choice</span></td><td valign="baseline" align="left"><span class="stt">&nbsp;</span></td><td valign="baseline" align="center">=</td><td valign="baseline" align="left"><span class="stt">&nbsp;</span></td><td valign="baseline" align="left"><span class="RktVar">id</span><span class="hspace">&nbsp;</span><span class="RktCmt">;</span><span class="RktCmt">&nbsp;</span><span class="RktCmt">treated as a symbol</span></td></tr><tr><td valign="baseline" align="right"><span class="stt">&nbsp;</span></td><td valign="baseline" align="left"><span class="stt">&nbsp;</span></td><td valign="baseline" align="center">|</td><td valign="baseline" align="left"><span class="stt">&nbsp;</span></td><td valign="baseline" align="left"><span class="RktVar">number</span></td></tr><tr><td valign="baseline" align="right"><span class="stt">&nbsp;</span></td><td valign="baseline" align="left"><span class="stt">&nbsp;</span></td><td valign="baseline" align="center"><span class="stt">&nbsp;</span></td><td valign="baseline" align="left"><span class="stt">&nbsp;</span></td><td valign="baseline" align="left"><span class="stt">&nbsp;</span></td></tr><tr><td valign="baseline" align="right"><span class="hspace">&nbsp;&nbsp;</span><span class="RktVar">quoted</span></td><td valign="baseline" align="left"><span class="stt">&nbsp;</span></td><td valign="baseline" align="center">=</td><td valign="baseline" align="left"><span class="stt">&nbsp;</span></td><td valign="baseline" align="left"><span class="RktVar">id</span></td></tr><tr><td valign="baseline" align="right"><span class="stt">&nbsp;</span></td><td valign="baseline" align="left"><span class="stt">&nbsp;</span></td><td valign="baseline" align="center">|</td><td valign="baseline" align="left"><span class="stt">&nbsp;</span></td><td valign="baseline" align="left"><span class="RktVar">number</span></td></tr><tr><td valign="baseline" align="right"><span class="stt">&nbsp;</span></td><td valign="baseline" align="left"><span class="stt">&nbsp;</span></td><td valign="baseline" align="center">|</td><td valign="baseline" align="left"><span class="stt">&nbsp;</span></td><td valign="baseline" align="left"><span class="RktVar">string</span></td></tr><tr><td valign="baseline" align="right"><span class="stt">&nbsp;</span></td><td valign="baseline" align="left"><span class="stt">&nbsp;</span></td><td valign="baseline" align="center">|</td><td valign="baseline" align="left"><span class="stt">&nbsp;</span></td><td valign="baseline" align="left"><span class="RktVar">character</span></td></tr><tr><td valign="baseline" align="right"><span class="stt">&nbsp;</span></td><td valign="baseline" align="left"><span class="stt">&nbsp;</span></td><td valign="baseline" align="center">|</td><td valign="baseline" align="left"><span class="stt">&nbsp;</span></td><td valign="baseline" align="left"><span class="RktPn">(</span><span class="RktVar">quoted</span><span class="stt"> </span><span class="RktSym">...</span><span class="RktPn">)</span></td></tr><tr><td valign="baseline" align="right"><span class="stt">&nbsp;</span></td><td valign="baseline" align="left"><span class="stt">&nbsp;</span></td><td valign="baseline" align="center">|</td><td valign="baseline" align="left"><span class="stt">&nbsp;</span></td><td valign="baseline" align="left"><span class="RktVal">’</span><span class="RktVar">quoted</span></td></tr><tr><td valign="baseline" align="right"><span class="stt">&nbsp;</span></td><td valign="baseline" align="left"><span class="stt">&nbsp;</span></td><td valign="baseline" align="center">|</td><td valign="baseline" align="left"><span class="stt">&nbsp;</span></td><td valign="baseline" align="left"><span class="RktVal">`</span><span class="RktVar">quoted</span></td></tr><tr><td valign="baseline" align="right"><span class="stt">&nbsp;</span></td><td valign="baseline" align="left"><span class="stt">&nbsp;</span></td><td valign="baseline" align="center">|</td><td valign="baseline" align="left"><span class="stt">&nbsp;</span></td><td valign="baseline" align="left"><span class="stt">,</span><span class="RktVar">quoted</span></td></tr><tr><td valign="baseline" align="right"><span class="stt">&nbsp;</span></td><td valign="baseline" align="left"><span class="stt">&nbsp;</span></td><td valign="baseline" align="center">|</td><td valign="baseline" align="left"><span class="stt">&nbsp;</span></td><td valign="baseline" align="left"><span class="stt">,@</span><span class="RktVar">quoted</span></td></tr><tr><td valign="baseline" align="right"><span class="stt">&nbsp;</span></td><td valign="baseline" align="left"><span class="stt">&nbsp;</span></td><td valign="baseline" align="center"><span class="stt">&nbsp;</span></td><td valign="baseline" align="left"><span class="stt">&nbsp;</span></td><td valign="baseline" align="left"><span class="stt">&nbsp;</span></td></tr><tr><td valign="baseline" align="right"><span class="hspace">&nbsp;&nbsp;</span><span class="RktVar">quasiquoted</span></td><td valign="baseline" align="left"><span class="stt">&nbsp;</span></td><td valign="baseline" align="center">=</td><td valign="baseline" align="left"><span class="stt">&nbsp;</span></td><td valign="baseline" align="left"><span class="RktVar">id</span></td></tr><tr><td valign="baseline" align="right"><span class="stt">&nbsp;</span></td><td valign="baseline" align="left"><span class="stt">&nbsp;</span></td><td valign="baseline" align="center">|</td><td valign="baseline" align="left"><span class="stt">&nbsp;</span></td><td valign="baseline" align="left"><span class="RktVar">number</span></td></tr><tr><td valign="baseline" align="right"><span class="stt">&nbsp;</span></td><td valign="baseline" align="left"><span class="stt">&nbsp;</span></td><td valign="baseline" align="center">|</td><td valign="baseline" align="left"><span class="stt">&nbsp;</span></td><td valign="baseline" align="left"><span class="RktVar">string</span></td></tr><tr><td valign="baseline" align="right"><span class="stt">&nbsp;</span></td><td valign="baseline" align="left"><span class="stt">&nbsp;</span></td><td valign="baseline" align="center">|</td><td valign="baseline" align="left"><span class="stt">&nbsp;</span></td><td valign="baseline" align="left"><span class="RktVar">character</span></td></tr><tr><td valign="baseline" align="right"><span class="stt">&nbsp;</span></td><td valign="baseline" align="left"><span class="stt">&nbsp;</span></td><td valign="baseline" align="center">|</td><td valign="baseline" align="left"><span class="stt">&nbsp;</span></td><td valign="baseline" align="left"><span class="RktPn">(</span><span class="RktVar">quasiquoted</span><span class="stt"> </span><span class="RktSym">...</span><span class="RktPn">)</span></td></tr><tr><td valign="baseline" align="right"><span class="stt">&nbsp;</span></td><td valign="baseline" align="left"><span class="stt">&nbsp;</span></td><td valign="baseline" align="center">|</td><td valign="baseline" align="left"><span class="stt">&nbsp;</span></td><td valign="baseline" align="left"><span class="RktVal">’</span><span class="RktVar">quasiquoted</span></td></tr><tr><td valign="baseline" align="right"><span class="stt">&nbsp;</span></td><td valign="baseline" align="left"><span class="stt">&nbsp;</span></td><td valign="baseline" align="center">|</td><td valign="baseline" align="left"><span class="stt">&nbsp;</span></td><td valign="baseline" align="left"><span class="RktVal">`</span><span class="RktVar">quasiquoted</span></td></tr><tr><td valign="baseline" align="right"><span class="stt">&nbsp;</span></td><td valign="baseline" align="left"><span class="stt">&nbsp;</span></td><td valign="baseline" align="center">|</td><td valign="baseline" align="left"><span class="stt">&nbsp;</span></td><td valign="baseline" align="left"><span class="stt">,</span><span class="RktSym">expr</span></td></tr><tr><td valign="baseline" align="right"><span class="stt">&nbsp;</span></td><td valign="baseline" align="left"><span class="stt">&nbsp;</span></td><td valign="baseline" align="center">|</td><td valign="baseline" align="left"><span class="stt">&nbsp;</span></td><td valign="baseline" align="left"><span class="stt">,@</span><span class="RktSym">expr</span></td></tr><tr><td valign="baseline" align="right"><span class="stt">&nbsp;</span></td><td valign="baseline" align="left"><span class="stt">&nbsp;</span></td><td valign="baseline" align="center"><span class="stt">&nbsp;</span></td><td valign="baseline" align="left"><span class="stt">&nbsp;</span></td><td valign="baseline" align="left"><span class="stt">&nbsp;</span></td></tr><tr><td valign="baseline" align="right"><span class="hspace">&nbsp;&nbsp;</span><span class="RktVar">test-case</span></td><td valign="baseline" align="left"><span class="stt">&nbsp;</span></td><td valign="baseline" align="center">=</td><td valign="baseline" align="left"><span class="stt">&nbsp;</span></td><td valign="baseline" align="left"><span class="RktPn">(</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-unchanged.html#%28form._%28%28lib._lang/htdp-advanced..rkt%29._check-expect%29%29" class="RktStxLink" pltdoc="x">check-expect</a></span><span class="stt"> </span><span class="RktSym">expr</span><span class="stt"> </span><span class="RktSym">expr</span><span class="RktPn">)</span></td></tr><tr><td valign="baseline" align="right"><span class="stt">&nbsp;</span></td><td valign="baseline" align="left"><span class="stt">&nbsp;</span></td><td valign="baseline" align="center">|</td><td valign="baseline" align="left"><span class="stt">&nbsp;</span></td><td valign="baseline" align="left"><span class="RktPn">(</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-unchanged.html#%28form._%28%28lib._lang/htdp-advanced..rkt%29._check-within%29%29" class="RktStxLink" pltdoc="x">check-within</a></span><span class="stt"> </span><span class="RktSym">expr</span><span class="stt"> </span><span class="RktSym">expr</span><span class="stt"> </span><span class="RktSym">expr</span><span class="RktPn">)</span></td></tr><tr><td valign="baseline" align="right"><span class="stt">&nbsp;</span></td><td valign="baseline" align="left"><span class="stt">&nbsp;</span></td><td valign="baseline" align="center">|</td><td valign="baseline" align="left"><span class="stt">&nbsp;</span></td><td valign="baseline" align="left"><span class="RktPn">(</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/Unchanged_Forms.html#%28form._%28%28lib._lang/htdp-beginner-abbr..rkt%29._check-member-of%29%29" class="RktStxLink" pltdoc="x">check-member-of</a></span><span class="stt"> </span><span class="RktSym">expr</span><span class="stt"> </span><span class="RktSym">expr</span><span class="stt"> </span><span class="RktSym">...</span><span class="RktPn">)</span></td></tr><tr><td valign="baseline" align="right"><span class="stt">&nbsp;</span></td><td valign="baseline" align="left"><span class="stt">&nbsp;</span></td><td valign="baseline" align="center">|</td><td valign="baseline" align="left"><span class="stt">&nbsp;</span></td><td valign="baseline" align="left"><span class="RktPn">(</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/Unchanged_Forms.html#%28form._%28%28lib._lang/htdp-beginner-abbr..rkt%29._check-range%29%29" class="RktStxLink" pltdoc="x">check-range</a></span><span class="stt"> </span><span class="RktSym">expr</span><span class="stt"> </span><span class="RktSym">expr</span><span class="stt"> </span><span class="RktSym">expr</span><span class="RktPn">)</span></td></tr><tr><td valign="baseline" align="right"><span class="stt">&nbsp;</span></td><td valign="baseline" align="left"><span class="stt">&nbsp;</span></td><td valign="baseline" align="center">|</td><td valign="baseline" align="left"><span class="stt">&nbsp;</span></td><td valign="baseline" align="left"><span class="RktPn">(</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-unchanged.html#%28form._%28%28lib._lang/htdp-advanced..rkt%29._check-error%29%29" class="RktStxLink" pltdoc="x">check-error</a></span><span class="stt"> </span><span class="RktSym">expr</span><span class="stt"> </span><span class="RktSym">expr</span><span class="RktPn">)</span></td></tr><tr><td valign="baseline" align="right"><span class="stt">&nbsp;</span></td><td valign="baseline" align="left"><span class="stt">&nbsp;</span></td><td valign="baseline" align="center"><span class="stt">&nbsp;</span></td><td valign="baseline" align="left"><span class="stt">&nbsp;</span></td><td valign="baseline" align="left"><span class="stt">&nbsp;</span></td></tr><tr><td valign="baseline" align="right"><span class="hspace">&nbsp;&nbsp;</span><span class="RktVar">library-require</span></td><td valign="baseline" align="left"><span class="stt">&nbsp;</span></td><td valign="baseline" align="center">=</td><td valign="baseline" align="left"><span class="stt">&nbsp;</span></td><td valign="baseline" align="left"><span class="RktPn">(</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-unchanged.html#%28form._%28%28lib._lang/htdp-advanced..rkt%29._require%29%29" class="RktStxLink" pltdoc="x">require</a></span><span class="stt"> </span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/beginner-abbr-prim-ops.html#%28def._%28lib._htdp-beginner-abbr..ss._lang%29._%28%28lib._lang/htdp-beginner-abbr..rkt%29._string%29%29" class="RktValLink" pltdoc="x">string</a></span><span class="RktPn">)</span></td></tr><tr><td valign="baseline" align="right"><span class="stt">&nbsp;</span></td><td valign="baseline" align="left"><span class="stt">&nbsp;</span></td><td valign="baseline" align="center">|</td><td valign="baseline" align="left"><span class="stt">&nbsp;</span></td><td valign="baseline" align="left"><span class="RktPn">(</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-unchanged.html#%28form._%28%28lib._lang/htdp-advanced..rkt%29._require%29%29" class="RktStxLink" pltdoc="x">require</a></span><span class="stt"> </span><span class="RktPn">(</span><span class="RktSym">lib</span><span class="stt"> </span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/beginner-abbr-prim-ops.html#%28def._%28lib._htdp-beginner-abbr..ss._lang%29._%28%28lib._lang/htdp-beginner-abbr..rkt%29._string%29%29" class="RktValLink" pltdoc="x">string</a></span><span class="stt"> </span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/beginner-abbr-prim-ops.html#%28def._%28lib._htdp-beginner-abbr..ss._lang%29._%28%28lib._lang/htdp-beginner-abbr..rkt%29._string%29%29" class="RktValLink" pltdoc="x">string</a></span><span class="stt"> </span><span class="RktSym">...</span><span class="RktPn">)</span><span class="RktPn">)</span></td></tr><tr><td valign="baseline" align="right"><span class="stt">&nbsp;</span></td><td valign="baseline" align="left"><span class="stt">&nbsp;</span></td><td valign="baseline" align="center">|</td><td valign="baseline" align="left"><span class="stt">&nbsp;</span></td><td valign="baseline" align="left"><span class="RktPn">(</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-unchanged.html#%28form._%28%28lib._lang/htdp-advanced..rkt%29._require%29%29" class="RktStxLink" pltdoc="x">require</a></span><span class="stt"> </span><span class="RktPn">(</span><span class="RktSym">planet</span><span class="stt"> </span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/beginner-abbr-prim-ops.html#%28def._%28lib._htdp-beginner-abbr..ss._lang%29._%28%28lib._lang/htdp-beginner-abbr..rkt%29._string%29%29" class="RktValLink" pltdoc="x">string</a></span><span class="stt"> </span><span class="RktVar">package</span><span class="RktPn">)</span><span class="RktPn">)</span></td></tr><tr><td valign="baseline" align="right"><span class="stt">&nbsp;</span></td><td valign="baseline" align="left"><span class="stt">&nbsp;</span></td><td valign="baseline" align="center"><span class="stt">&nbsp;</span></td><td valign="baseline" align="left"><span class="stt">&nbsp;</span></td><td valign="baseline" align="left"><span class="stt">&nbsp;</span></td></tr><tr><td valign="baseline" align="right"><span class="hspace">&nbsp;&nbsp;</span><span class="RktVar">package</span></td><td valign="baseline" align="left"><span class="stt">&nbsp;</span></td><td valign="baseline" align="center">=</td><td valign="baseline" align="left"><span class="stt">&nbsp;</span></td><td valign="baseline" align="left"><span class="RktPn">(</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/beginner-abbr-prim-ops.html#%28def._%28lib._htdp-beginner-abbr..ss._lang%29._%28%28lib._lang/htdp-beginner-abbr..rkt%29._string%29%29" class="RktValLink" pltdoc="x">string</a></span><span class="stt"> </span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/beginner-abbr-prim-ops.html#%28def._%28lib._htdp-beginner-abbr..ss._lang%29._%28%28lib._lang/htdp-beginner-abbr..rkt%29._string%29%29" class="RktValLink" pltdoc="x">string</a></span><span class="stt"> </span><span class="RktSym">number</span><span class="stt"> </span><span class="RktSym">number</span><span class="RktPn">)</span></td></tr></tbody></table></p><p></p><div class="SIntrapara">An <span class="RktVar">id</span> is a sequence of characters not including a
+space or one of the following:</div><div class="SIntrapara"><span class="hspace">&nbsp;&nbsp;</span> <span class="RktInBG"><span class="hspace"></span><span class="RktIn">"</span><span class="hspace"></span></span> <span class="RktInBG"><span class="hspace"></span><span class="RktIn">,</span><span class="hspace"></span></span> <span class="RktInBG"><span class="hspace"></span><span class="RktIn">'</span><span class="hspace"></span></span> <span class="RktInBG"><span class="hspace"></span><span class="RktIn">`</span><span class="hspace"></span></span>
+<span class="RktInBG"><span class="hspace"></span><span class="RktIn">(</span><span class="hspace"></span></span> <span class="RktInBG"><span class="hspace"></span><span class="RktIn">)</span><span class="hspace"></span></span> <span class="RktInBG"><span class="hspace"></span><span class="RktIn">[</span><span class="hspace"></span></span> <span class="RktInBG"><span class="hspace"></span><span class="RktIn">]</span><span class="hspace"></span></span>
+<span class="RktInBG"><span class="hspace"></span><span class="RktIn">{</span><span class="hspace"></span></span> <span class="RktInBG"><span class="hspace"></span><span class="RktIn">}</span><span class="hspace"></span></span> <span class="RktInBG"><span class="hspace"></span><span class="RktIn">|</span><span class="hspace"></span></span> <span class="RktInBG"><span class="hspace"></span><span class="RktIn">;</span><span class="hspace"></span></span>
+<span class="RktInBG"><span class="hspace"></span><span class="RktIn">#</span><span class="hspace"></span></span></div><div class="SIntrapara">A <span class="RktVar">number</span> is a number such as <span class="RktVal">123</span>, <span class="RktVal">3/2</span>, or
+<span class="RktVal">5.5</span>.</div><div class="SIntrapara">A <span class="RktVar">string</span> is enclosed by a pair of <span class="RktInBG"><span class="hspace"></span><span class="RktIn">"</span><span class="hspace"></span></span>. Unlike
+symbols, strings may be split into characters and manipulated by a
+variety of primitive functions.  For example, <span class="RktVal">"abcdef"</span>,
+<span class="RktVal">"This is a string"</span>, and <span class="RktVal">"This is a string with \" inside"</span> are all strings.</div><div class="SIntrapara">A <span class="RktVar">character</span> begins with <span class="RktInBG"><span class="hspace"></span><span class="RktIn">#\</span><span class="hspace"></span></span> and has the
+name of the character. For example, <span class="RktVal">#\a</span>, <span class="RktVal">#\b</span>,
+and <span class="RktVal">#\space</span> are characters.</div><p></p><p><table cellspacing="0"><tbody><tr><td><p>A <span class="RktVar">prim-op</span> is one of:</p></td></tr><tr><td><p><span class="hspace">&nbsp;</span><span style="font-weight: bold;">Numbers: Integers, Rationals, Reals, Complex, Exacts, Inexacts</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._%7E3c%29%29" class="RktValLink" pltdoc="x">&lt;</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktSym">real</span><span class="hspace">&nbsp;</span><span class="RktSym">real</span><span class="hspace">&nbsp;</span><span class="RktSym">real</span><span class="hspace">&nbsp;</span><span class="RktSym">...</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">boolean</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._%7E3c%7E3d%29%29" class="RktValLink" pltdoc="x">&lt;=</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktSym">real</span><span class="hspace">&nbsp;</span><span class="RktSym">real</span><span class="hspace">&nbsp;</span><span class="RktSym">real</span><span class="hspace">&nbsp;</span><span class="RktSym">...</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">boolean</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._%7E3d%29%29" class="RktValLink" pltdoc="x">=</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktSym">number</span><span class="hspace">&nbsp;</span><span class="RktSym">number</span><span class="hspace">&nbsp;</span><span class="RktSym">number</span><span class="hspace">&nbsp;</span><span class="RktSym">...</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">boolean</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._%7E3e%29%29" class="RktValLink" pltdoc="x">&gt;</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktSym">real</span><span class="hspace">&nbsp;</span><span class="RktSym">real</span><span class="hspace">&nbsp;</span><span class="RktSym">real</span><span class="hspace">&nbsp;</span><span class="RktSym">...</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">boolean</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._%7E3e%7E3d%29%29" class="RktValLink" pltdoc="x">&gt;=</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktSym">real</span><span class="hspace">&nbsp;</span><span class="RktSym">real</span><span class="hspace">&nbsp;</span><span class="RktSym">...</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">boolean</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._abs%29%29" class="RktValLink" pltdoc="x">abs</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktSym">real</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">real</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._acos%29%29" class="RktValLink" pltdoc="x">acos</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktSym">number</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">number</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._add1%29%29" class="RktValLink" pltdoc="x">add1</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktSym">number</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">number</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._angle%29%29" class="RktValLink" pltdoc="x">angle</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktSym">number</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">real</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._asin%29%29" class="RktValLink" pltdoc="x">asin</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktSym">number</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">number</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._atan%29%29" class="RktValLink" pltdoc="x">atan</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktSym">number</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">number</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._ceiling%29%29" class="RktValLink" pltdoc="x">ceiling</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktSym">real</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">integer</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._complex%7E3f%29%29" class="RktValLink" pltdoc="x">complex?</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktSym">any</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">boolean</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._conjugate%29%29" class="RktValLink" pltdoc="x">conjugate</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktSym">number</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">number</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._cos%29%29" class="RktValLink" pltdoc="x">cos</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktSym">number</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">number</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._cosh%29%29" class="RktValLink" pltdoc="x">cosh</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktSym">number</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">number</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._current-seconds%29%29" class="RktValLink" pltdoc="x">current-seconds</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">integer</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._denominator%29%29" class="RktValLink" pltdoc="x">denominator</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktSym">rat</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">integer</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._e%29%29" class="RktValLink" pltdoc="x">e</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktSym">real</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._even%7E3f%29%29" class="RktValLink" pltdoc="x">even?</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktSym">integer</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">boolean</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._exact-%7E3einexact%29%29" class="RktValLink" pltdoc="x">exact-&gt;inexact</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktSym">number</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">number</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._exact%7E3f%29%29" class="RktValLink" pltdoc="x">exact?</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktSym">number</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">boolean</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._exp%29%29" class="RktValLink" pltdoc="x">exp</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktSym">number</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">number</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._expt%29%29" class="RktValLink" pltdoc="x">expt</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktSym">number</span><span class="hspace">&nbsp;</span><span class="RktSym">number</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">number</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._floor%29%29" class="RktValLink" pltdoc="x">floor</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktSym">real</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">integer</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._gcd%29%29" class="RktValLink" pltdoc="x">gcd</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktSym">integer</span><span class="hspace">&nbsp;</span><span class="RktSym">integer</span><span class="hspace">&nbsp;</span><span class="RktSym">...</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">integer</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._imag-part%29%29" class="RktValLink" pltdoc="x">imag-part</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktSym">number</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">real</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._inexact-%7E3eexact%29%29" class="RktValLink" pltdoc="x">inexact-&gt;exact</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktSym">number</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">number</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._inexact%7E3f%29%29" class="RktValLink" pltdoc="x">inexact?</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktSym">number</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">boolean</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._integer-%7E3echar%29%29" class="RktValLink" pltdoc="x">integer-&gt;char</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktSym">integer</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">char</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._integer-sqrt%29%29" class="RktValLink" pltdoc="x">integer-sqrt</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktSym">number</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">integer</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._integer%7E3f%29%29" class="RktValLink" pltdoc="x">integer?</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktSym">any</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">boolean</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._lcm%29%29" class="RktValLink" pltdoc="x">lcm</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktSym">integer</span><span class="hspace">&nbsp;</span><span class="RktSym">integer</span><span class="hspace">&nbsp;</span><span class="RktSym">...</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">integer</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._log%29%29" class="RktValLink" pltdoc="x">log</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktSym">number</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">number</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._magnitude%29%29" class="RktValLink" pltdoc="x">magnitude</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktSym">number</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">real</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._make-polar%29%29" class="RktValLink" pltdoc="x">make-polar</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktSym">real</span><span class="hspace">&nbsp;</span><span class="RktSym">real</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">number</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._make-rectangular%29%29" class="RktValLink" pltdoc="x">make-rectangular</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktSym">real</span><span class="hspace">&nbsp;</span><span class="RktSym">real</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">number</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._max%29%29" class="RktValLink" pltdoc="x">max</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktSym">real</span><span class="hspace">&nbsp;</span><span class="RktSym">real</span><span class="hspace">&nbsp;</span><span class="RktSym">...</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">real</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._min%29%29" class="RktValLink" pltdoc="x">min</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktSym">real</span><span class="hspace">&nbsp;</span><span class="RktSym">real</span><span class="hspace">&nbsp;</span><span class="RktSym">...</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">real</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._modulo%29%29" class="RktValLink" pltdoc="x">modulo</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktSym">integer</span><span class="hspace">&nbsp;</span><span class="RktSym">integer</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">integer</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._negative%7E3f%29%29" class="RktValLink" pltdoc="x">negative?</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktSym">number</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">boolean</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._number-%7E3estring%29%29" class="RktValLink" pltdoc="x">number-&gt;string</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktSym">number</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">string</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._number%7E3f%29%29" class="RktValLink" pltdoc="x">number?</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktSym">any</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">boolean</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._numerator%29%29" class="RktValLink" pltdoc="x">numerator</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktSym">rat</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">integer</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._odd%7E3f%29%29" class="RktValLink" pltdoc="x">odd?</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktSym">integer</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">boolean</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._pi%29%29" class="RktValLink" pltdoc="x">pi</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktSym">real</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._positive%7E3f%29%29" class="RktValLink" pltdoc="x">positive?</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktSym">number</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">boolean</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._quotient%29%29" class="RktValLink" pltdoc="x">quotient</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktSym">integer</span><span class="hspace">&nbsp;</span><span class="RktSym">integer</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">integer</span><span class="RktPn">)</span></p></td></tr><tr><td><table class="prototype" cellspacing="0"><tbody><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._random%29%29" class="RktValLink" pltdoc="x">random</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span></p></td><td><table class="RktBlk" cellspacing="0"><tbody><tr><td><span class="RktPn">(</span><span class="RktSym">case-&gt;</span></td></tr><tr><td><span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym">integer</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">integer</span><span class="RktPn">)</span></td></tr><tr><td><span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym">and/c</span><span class="hspace">&nbsp;</span><span class="RktSym">real</span><span class="hspace">&nbsp;</span><span class="RktSym">inexact?</span><span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym">&gt;/c</span><span class="hspace">&nbsp;</span><span class="RktVal">0</span><span class="RktPn">)</span><span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym">&lt;/c</span><span class="hspace">&nbsp;</span><span class="RktVal">1</span><span class="RktPn">)</span><span class="RktPn">)</span><span class="RktPn">)</span><span class="RktPn">)</span></td></tr></tbody></table></td></tr></tbody></table></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._rational%7E3f%29%29" class="RktValLink" pltdoc="x">rational?</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktSym">any</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">boolean</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._real-part%29%29" class="RktValLink" pltdoc="x">real-part</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktSym">number</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">real</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._real%7E3f%29%29" class="RktValLink" pltdoc="x">real?</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktSym">any</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">boolean</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._remainder%29%29" class="RktValLink" pltdoc="x">remainder</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktSym">integer</span><span class="hspace">&nbsp;</span><span class="RktSym">integer</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">integer</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._round%29%29" class="RktValLink" pltdoc="x">round</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktSym">real</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">integer</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._sgn%29%29" class="RktValLink" pltdoc="x">sgn</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktSym">real</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym">union</span><span class="hspace">&nbsp;</span><span class="RktVal">1</span><span class="hspace">&nbsp;</span><span class="RktVal">1.0</span><span class="hspace">&nbsp;</span><span class="RktVal">0</span><span class="hspace">&nbsp;</span><span class="RktVal">0.0</span><span class="hspace">&nbsp;</span><span class="RktVal">-1</span><span class="hspace">&nbsp;</span><span class="RktVal">-1.0</span><span class="RktPn">)</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._sin%29%29" class="RktValLink" pltdoc="x">sin</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktSym">number</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">number</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._sinh%29%29" class="RktValLink" pltdoc="x">sinh</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktSym">number</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">number</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._sqr%29%29" class="RktValLink" pltdoc="x">sqr</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktSym">number</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">number</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._sqrt%29%29" class="RktValLink" pltdoc="x">sqrt</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktSym">number</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">number</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._sub1%29%29" class="RktValLink" pltdoc="x">sub1</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktSym">number</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">number</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._tan%29%29" class="RktValLink" pltdoc="x">tan</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktSym">number</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">number</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._zero%7E3f%29%29" class="RktValLink" pltdoc="x">zero?</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktSym">number</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">boolean</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;</span><span style="font-weight: bold;">Booleans</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._boolean%7E3d%7E3f%29%29" class="RktValLink" pltdoc="x">boolean=?</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktSym">boolean</span><span class="hspace">&nbsp;</span><span class="RktSym">boolean</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">boolean</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._boolean%7E3f%29%29" class="RktValLink" pltdoc="x">boolean?</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktSym">any</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">boolean</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._false%7E3f%29%29" class="RktValLink" pltdoc="x">false?</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktSym">any</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">boolean</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._not%29%29" class="RktValLink" pltdoc="x">not</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktSym">boolean</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">boolean</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;</span><span style="font-weight: bold;">Symbols</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._symbol-%7E3estring%29%29" class="RktValLink" pltdoc="x">symbol-&gt;string</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktSym">symbol</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">string</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._symbol%7E3d%7E3f%29%29" class="RktValLink" pltdoc="x">symbol=?</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktSym">symbol</span><span class="hspace">&nbsp;</span><span class="RktSym">symbol</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">boolean</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._symbol%7E3f%29%29" class="RktValLink" pltdoc="x">symbol?</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktSym">any</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">boolean</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;</span><span style="font-weight: bold;">Lists</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._append%29%29" class="RktValLink" pltdoc="x">append</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktPn">(</span><span class="RktSym">listof</span><span class="hspace">&nbsp;</span><span class="RktSym">any</span><span class="RktPn">)</span><span class="hspace">&nbsp;</span><span class="RktSym">...</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym">listof</span><span class="hspace">&nbsp;</span><span class="RktSym">any</span><span class="RktPn">)</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._assoc%29%29" class="RktValLink" pltdoc="x">assoc</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktSym">any</span><span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym">listof</span><span class="hspace">&nbsp;</span><span class="RktSym">any</span><span class="RktPn">)</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym">listof</span><span class="hspace">&nbsp;</span><span class="RktSym">any</span><span class="RktPn">)</span><span class="hspace">&nbsp;</span><span class="RktSym">or</span><span class="hspace">&nbsp;</span><span class="RktSym">false</span><span class="RktPn">)</span></p></td></tr><tr><td><table class="prototype" cellspacing="0"><tbody><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._assq%29%29" class="RktValLink" pltdoc="x">assq</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span></p></td><td><table class="RktBlk" cellspacing="0"><tbody><tr><td><span class="RktPn">(</span><span class="RktSym">X</span></td></tr><tr><td><span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym">listof</span><span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym">cons</span><span class="hspace">&nbsp;</span><span class="RktSym">X</span><span class="hspace">&nbsp;</span><span class="RktSym">Y</span><span class="RktPn">)</span><span class="RktPn">)</span></td></tr><tr><td><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span></td></tr><tr><td><span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym">union</span><span class="hspace">&nbsp;</span><span class="RktSym">false</span><span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym">cons</span><span class="hspace">&nbsp;</span><span class="RktSym">X</span><span class="hspace">&nbsp;</span><span class="RktSym">Y</span><span class="RktPn">)</span><span class="RktPn">)</span><span class="RktPn">)</span></td></tr></tbody></table></td></tr></tbody></table></td></tr><tr><td><table class="prototype" cellspacing="0"><tbody><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._caaar%29%29" class="RktValLink" pltdoc="x">caaar</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span></p></td><td><table class="RktBlk" cellspacing="0"><tbody><tr><td><span class="RktPn">(</span><span class="RktPn">(</span><span class="RktSym">cons</span></td></tr><tr><td><span class="hspace">&nbsp;&nbsp;</span><span class="RktPn">(</span><span class="RktSym">cons</span><span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym">cons</span><span class="hspace">&nbsp;</span><span class="RktSym">W</span><span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym">listof</span><span class="hspace">&nbsp;</span><span class="RktSym">Z</span><span class="RktPn">)</span><span class="RktPn">)</span><span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym">listof</span><span class="hspace">&nbsp;</span><span class="RktSym">Y</span><span class="RktPn">)</span><span class="RktPn">)</span></td></tr><tr><td><span class="hspace">&nbsp;&nbsp;</span><span class="RktPn">(</span><span class="RktSym">listof</span><span class="hspace">&nbsp;</span><span class="RktSym">X</span><span class="RktPn">)</span><span class="RktPn">)</span></td></tr><tr><td><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span></td></tr><tr><td><span class="hspace">&nbsp;</span><span class="RktSym">W</span><span class="RktPn">)</span></td></tr></tbody></table></td></tr></tbody></table></td></tr><tr><td><table class="prototype" cellspacing="0"><tbody><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._caadr%29%29" class="RktValLink" pltdoc="x">caadr</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span></p></td><td><table class="RktBlk" cellspacing="0"><tbody><tr><td><span class="RktPn">(</span><span class="RktPn">(</span><span class="RktSym">cons</span></td></tr><tr><td><span class="hspace">&nbsp;&nbsp;</span><span class="RktPn">(</span><span class="RktSym">cons</span><span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym">cons</span><span class="hspace">&nbsp;</span><span class="RktSym">W</span><span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym">listof</span><span class="hspace">&nbsp;</span><span class="RktSym">Z</span><span class="RktPn">)</span><span class="RktPn">)</span><span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym">listof</span><span class="hspace">&nbsp;</span><span class="RktSym">Y</span><span class="RktPn">)</span><span class="RktPn">)</span></td></tr><tr><td><span class="hspace">&nbsp;&nbsp;</span><span class="RktPn">(</span><span class="RktSym">listof</span><span class="hspace">&nbsp;</span><span class="RktSym">X</span><span class="RktPn">)</span><span class="RktPn">)</span></td></tr><tr><td><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span></td></tr><tr><td><span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym">listof</span><span class="hspace">&nbsp;</span><span class="RktSym">Z</span><span class="RktPn">)</span><span class="RktPn">)</span></td></tr></tbody></table></td></tr></tbody></table></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._caar%29%29" class="RktValLink" pltdoc="x">caar</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktPn">(</span><span class="RktSym">cons</span><span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym">cons</span><span class="hspace">&nbsp;</span><span class="RktSym">Z</span><span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym">listof</span><span class="hspace">&nbsp;</span><span class="RktSym">Y</span><span class="RktPn">)</span><span class="RktPn">)</span><span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym">listof</span><span class="hspace">&nbsp;</span><span class="RktSym">X</span><span class="RktPn">)</span><span class="RktPn">)</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">Z</span><span class="RktPn">)</span></p></td></tr><tr><td><table class="prototype" cellspacing="0"><tbody><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._cadar%29%29" class="RktValLink" pltdoc="x">cadar</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span></p></td><td><table class="RktBlk" cellspacing="0"><tbody><tr><td><span class="RktPn">(</span><span class="RktPn">(</span><span class="RktSym">cons</span><span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym">cons</span><span class="hspace">&nbsp;</span><span class="RktSym">W</span><span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym">cons</span><span class="hspace">&nbsp;</span><span class="RktSym">Z</span><span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym">listof</span><span class="hspace">&nbsp;</span><span class="RktSym">Y</span><span class="RktPn">)</span><span class="RktPn">)</span><span class="RktPn">)</span><span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym">listof</span><span class="hspace">&nbsp;</span><span class="RktSym">X</span><span class="RktPn">)</span><span class="RktPn">)</span></td></tr><tr><td><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span></td></tr><tr><td><span class="hspace">&nbsp;</span><span class="RktSym">Z</span><span class="RktPn">)</span></td></tr></tbody></table></td></tr></tbody></table></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._cadddr%29%29" class="RktValLink" pltdoc="x">cadddr</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktPn">(</span><span class="RktSym">listof</span><span class="hspace">&nbsp;</span><span class="RktSym">Y</span><span class="RktPn">)</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">Y</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._caddr%29%29" class="RktValLink" pltdoc="x">caddr</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktPn">(</span><span class="RktSym">cons</span><span class="hspace">&nbsp;</span><span class="RktSym">W</span><span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym">cons</span><span class="hspace">&nbsp;</span><span class="RktSym">Z</span><span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym">cons</span><span class="hspace">&nbsp;</span><span class="RktSym">Y</span><span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym">listof</span><span class="hspace">&nbsp;</span><span class="RktSym">X</span><span class="RktPn">)</span><span class="RktPn">)</span><span class="RktPn">)</span><span class="RktPn">)</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">Y</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._cadr%29%29" class="RktValLink" pltdoc="x">cadr</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktPn">(</span><span class="RktSym">cons</span><span class="hspace">&nbsp;</span><span class="RktSym">Z</span><span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym">cons</span><span class="hspace">&nbsp;</span><span class="RktSym">Y</span><span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym">listof</span><span class="hspace">&nbsp;</span><span class="RktSym">X</span><span class="RktPn">)</span><span class="RktPn">)</span><span class="RktPn">)</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">Y</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._car%29%29" class="RktValLink" pltdoc="x">car</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktPn">(</span><span class="RktSym">cons</span><span class="hspace">&nbsp;</span><span class="RktSym">Y</span><span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym">listof</span><span class="hspace">&nbsp;</span><span class="RktSym">X</span><span class="RktPn">)</span><span class="RktPn">)</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">Y</span><span class="RktPn">)</span></p></td></tr><tr><td><table class="prototype" cellspacing="0"><tbody><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._cdaar%29%29" class="RktValLink" pltdoc="x">cdaar</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span></p></td><td><table class="RktBlk" cellspacing="0"><tbody><tr><td><span class="RktPn">(</span><span class="RktPn">(</span><span class="RktSym">cons</span></td></tr><tr><td><span class="hspace">&nbsp;&nbsp;</span><span class="RktPn">(</span><span class="RktSym">cons</span><span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym">cons</span><span class="hspace">&nbsp;</span><span class="RktSym">W</span><span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym">listof</span><span class="hspace">&nbsp;</span><span class="RktSym">Z</span><span class="RktPn">)</span><span class="RktPn">)</span><span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym">listof</span><span class="hspace">&nbsp;</span><span class="RktSym">Y</span><span class="RktPn">)</span><span class="RktPn">)</span></td></tr><tr><td><span class="hspace">&nbsp;&nbsp;</span><span class="RktPn">(</span><span class="RktSym">listof</span><span class="hspace">&nbsp;</span><span class="RktSym">X</span><span class="RktPn">)</span><span class="RktPn">)</span></td></tr><tr><td><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span></td></tr><tr><td><span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym">listof</span><span class="hspace">&nbsp;</span><span class="RktSym">Z</span><span class="RktPn">)</span><span class="RktPn">)</span></td></tr></tbody></table></td></tr></tbody></table></td></tr><tr><td><table class="prototype" cellspacing="0"><tbody><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._cdadr%29%29" class="RktValLink" pltdoc="x">cdadr</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span></p></td><td><table class="RktBlk" cellspacing="0"><tbody><tr><td><span class="RktPn">(</span><span class="RktPn">(</span><span class="RktSym">cons</span><span class="hspace">&nbsp;</span><span class="RktSym">W</span><span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym">cons</span><span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym">cons</span><span class="hspace">&nbsp;</span><span class="RktSym">Z</span><span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym">listof</span><span class="hspace">&nbsp;</span><span class="RktSym">Y</span><span class="RktPn">)</span><span class="RktPn">)</span><span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym">listof</span><span class="hspace">&nbsp;</span><span class="RktSym">X</span><span class="RktPn">)</span><span class="RktPn">)</span><span class="RktPn">)</span></td></tr><tr><td><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span></td></tr><tr><td><span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym">listof</span><span class="hspace">&nbsp;</span><span class="RktSym">Y</span><span class="RktPn">)</span><span class="RktPn">)</span></td></tr></tbody></table></td></tr></tbody></table></td></tr><tr><td><table class="prototype" cellspacing="0"><tbody><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._cdar%29%29" class="RktValLink" pltdoc="x">cdar</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span></p></td><td><table class="RktBlk" cellspacing="0"><tbody><tr><td><span class="RktPn">(</span><span class="RktPn">(</span><span class="RktSym">cons</span><span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym">cons</span><span class="hspace">&nbsp;</span><span class="RktSym">Z</span><span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym">listof</span><span class="hspace">&nbsp;</span><span class="RktSym">Y</span><span class="RktPn">)</span><span class="RktPn">)</span><span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym">listof</span><span class="hspace">&nbsp;</span><span class="RktSym">X</span><span class="RktPn">)</span><span class="RktPn">)</span></td></tr><tr><td><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span></td></tr><tr><td><span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym">listof</span><span class="hspace">&nbsp;</span><span class="RktSym">Y</span><span class="RktPn">)</span><span class="RktPn">)</span></td></tr></tbody></table></td></tr></tbody></table></td></tr><tr><td><table class="prototype" cellspacing="0"><tbody><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._cddar%29%29" class="RktValLink" pltdoc="x">cddar</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span></p></td><td><table class="RktBlk" cellspacing="0"><tbody><tr><td><span class="RktPn">(</span><span class="RktPn">(</span><span class="RktSym">cons</span><span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym">cons</span><span class="hspace">&nbsp;</span><span class="RktSym">W</span><span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym">cons</span><span class="hspace">&nbsp;</span><span class="RktSym">Z</span><span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym">listof</span><span class="hspace">&nbsp;</span><span class="RktSym">Y</span><span class="RktPn">)</span><span class="RktPn">)</span><span class="RktPn">)</span><span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym">listof</span><span class="hspace">&nbsp;</span><span class="RktSym">X</span><span class="RktPn">)</span><span class="RktPn">)</span></td></tr><tr><td><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span></td></tr><tr><td><span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym">listof</span><span class="hspace">&nbsp;</span><span class="RktSym">Y</span><span class="RktPn">)</span><span class="RktPn">)</span></td></tr></tbody></table></td></tr></tbody></table></td></tr><tr><td><table class="prototype" cellspacing="0"><tbody><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._cdddr%29%29" class="RktValLink" pltdoc="x">cdddr</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span></p></td><td><table class="RktBlk" cellspacing="0"><tbody><tr><td><span class="RktPn">(</span><span class="RktPn">(</span><span class="RktSym">cons</span><span class="hspace">&nbsp;</span><span class="RktSym">W</span><span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym">cons</span><span class="hspace">&nbsp;</span><span class="RktSym">Z</span><span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym">cons</span><span class="hspace">&nbsp;</span><span class="RktSym">Y</span><span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym">listof</span><span class="hspace">&nbsp;</span><span class="RktSym">X</span><span class="RktPn">)</span><span class="RktPn">)</span><span class="RktPn">)</span><span class="RktPn">)</span></td></tr><tr><td><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span></td></tr><tr><td><span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym">listof</span><span class="hspace">&nbsp;</span><span class="RktSym">X</span><span class="RktPn">)</span><span class="RktPn">)</span></td></tr></tbody></table></td></tr></tbody></table></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._cddr%29%29" class="RktValLink" pltdoc="x">cddr</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktPn">(</span><span class="RktSym">cons</span><span class="hspace">&nbsp;</span><span class="RktSym">Z</span><span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym">cons</span><span class="hspace">&nbsp;</span><span class="RktSym">Y</span><span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym">listof</span><span class="hspace">&nbsp;</span><span class="RktSym">X</span><span class="RktPn">)</span><span class="RktPn">)</span><span class="RktPn">)</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym">listof</span><span class="hspace">&nbsp;</span><span class="RktSym">X</span><span class="RktPn">)</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._cdr%29%29" class="RktValLink" pltdoc="x">cdr</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktPn">(</span><span class="RktSym">cons</span><span class="hspace">&nbsp;</span><span class="RktSym">Y</span><span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym">listof</span><span class="hspace">&nbsp;</span><span class="RktSym">X</span><span class="RktPn">)</span><span class="RktPn">)</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym">listof</span><span class="hspace">&nbsp;</span><span class="RktSym">X</span><span class="RktPn">)</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._cons%29%29" class="RktValLink" pltdoc="x">cons</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktSym">X</span><span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym">listof</span><span class="hspace">&nbsp;</span><span class="RktSym">X</span><span class="RktPn">)</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym">listof</span><span class="hspace">&nbsp;</span><span class="RktSym">X</span><span class="RktPn">)</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._cons%7E3f%29%29" class="RktValLink" pltdoc="x">cons?</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktSym">any</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">boolean</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._eighth%29%29" class="RktValLink" pltdoc="x">eighth</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktPn">(</span><span class="RktSym">listof</span><span class="hspace">&nbsp;</span><span class="RktSym">Y</span><span class="RktPn">)</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">Y</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._empty%7E3f%29%29" class="RktValLink" pltdoc="x">empty?</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktSym">any</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">boolean</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._fifth%29%29" class="RktValLink" pltdoc="x">fifth</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktPn">(</span><span class="RktSym">listof</span><span class="hspace">&nbsp;</span><span class="RktSym">Y</span><span class="RktPn">)</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">Y</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._first%29%29" class="RktValLink" pltdoc="x">first</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktPn">(</span><span class="RktSym">cons</span><span class="hspace">&nbsp;</span><span class="RktSym">Y</span><span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym">listof</span><span class="hspace">&nbsp;</span><span class="RktSym">X</span><span class="RktPn">)</span><span class="RktPn">)</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">Y</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._fourth%29%29" class="RktValLink" pltdoc="x">fourth</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktPn">(</span><span class="RktSym">listof</span><span class="hspace">&nbsp;</span><span class="RktSym">Y</span><span class="RktPn">)</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">Y</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._length%29%29" class="RktValLink" pltdoc="x">length</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktPn">(</span><span class="RktSym">listof</span><span class="hspace">&nbsp;</span><span class="RktSym">any</span><span class="RktPn">)</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">number</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._list%29%29" class="RktValLink" pltdoc="x">list</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktSym">any</span><span class="hspace">&nbsp;</span><span class="RktSym">...</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym">listof</span><span class="hspace">&nbsp;</span><span class="RktSym">any</span><span class="RktPn">)</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._list*%29%29" class="RktValLink" pltdoc="x">list*</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktSym">any</span><span class="hspace">&nbsp;</span><span class="RktSym">...</span><span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym">listof</span><span class="hspace">&nbsp;</span><span class="RktSym">any</span><span class="RktPn">)</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym">listof</span><span class="hspace">&nbsp;</span><span class="RktSym">any</span><span class="RktPn">)</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._list-ref%29%29" class="RktValLink" pltdoc="x">list-ref</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktPn">(</span><span class="RktSym">listof</span><span class="hspace">&nbsp;</span><span class="RktSym">X</span><span class="RktPn">)</span><span class="hspace">&nbsp;</span><span class="RktSym">natural-number</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">X</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._list%7E3f%29%29" class="RktValLink" pltdoc="x">list?</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktSym">any</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">boolean</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._make-list%29%29" class="RktValLink" pltdoc="x">make-list</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktSym">natural-number</span><span class="hspace">&nbsp;</span><span class="RktSym">any</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym">listof</span><span class="hspace">&nbsp;</span><span class="RktSym">any</span><span class="RktPn">)</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._member%29%29" class="RktValLink" pltdoc="x">member</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktSym">any</span><span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym">listof</span><span class="hspace">&nbsp;</span><span class="RktSym">any</span><span class="RktPn">)</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">boolean</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._member%7E3f%29%29" class="RktValLink" pltdoc="x">member?</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktSym">any</span><span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym">listof</span><span class="hspace">&nbsp;</span><span class="RktSym">any</span><span class="RktPn">)</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">boolean</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._memq%29%29" class="RktValLink" pltdoc="x">memq</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktSym">any</span><span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym">listof</span><span class="hspace">&nbsp;</span><span class="RktSym">any</span><span class="RktPn">)</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym">union</span><span class="hspace">&nbsp;</span><span class="RktSym">false</span><span class="hspace">&nbsp;</span><span class="RktSym">list</span><span class="RktPn">)</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._memv%29%29" class="RktValLink" pltdoc="x">memv</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktSym">any</span><span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym">listof</span><span class="hspace">&nbsp;</span><span class="RktSym">any</span><span class="RktPn">)</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym">union</span><span class="hspace">&nbsp;</span><span class="RktSym">false</span><span class="hspace">&nbsp;</span><span class="RktSym">list</span><span class="RktPn">)</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._null%29%29" class="RktValLink" pltdoc="x">null</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktSym">empty</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._null%7E3f%29%29" class="RktValLink" pltdoc="x">null?</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktSym">any</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">boolean</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._pair%7E3f%29%29" class="RktValLink" pltdoc="x">pair?</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktSym">any</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">boolean</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._remove%29%29" class="RktValLink" pltdoc="x">remove</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktSym">any</span><span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym">listof</span><span class="hspace">&nbsp;</span><span class="RktSym">any</span><span class="RktPn">)</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym">listof</span><span class="hspace">&nbsp;</span><span class="RktSym">any</span><span class="RktPn">)</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._rest%29%29" class="RktValLink" pltdoc="x">rest</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktPn">(</span><span class="RktSym">cons</span><span class="hspace">&nbsp;</span><span class="RktSym">Y</span><span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym">listof</span><span class="hspace">&nbsp;</span><span class="RktSym">X</span><span class="RktPn">)</span><span class="RktPn">)</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym">listof</span><span class="hspace">&nbsp;</span><span class="RktSym">X</span><span class="RktPn">)</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._reverse%29%29" class="RktValLink" pltdoc="x">reverse</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktPn">(</span><span class="RktSym">listof</span><span class="hspace">&nbsp;</span><span class="RktSym">any</span><span class="RktPn">)</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">list</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._second%29%29" class="RktValLink" pltdoc="x">second</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktPn">(</span><span class="RktSym">cons</span><span class="hspace">&nbsp;</span><span class="RktSym">Z</span><span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym">cons</span><span class="hspace">&nbsp;</span><span class="RktSym">Y</span><span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym">listof</span><span class="hspace">&nbsp;</span><span class="RktSym">X</span><span class="RktPn">)</span><span class="RktPn">)</span><span class="RktPn">)</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">Y</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._seventh%29%29" class="RktValLink" pltdoc="x">seventh</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktPn">(</span><span class="RktSym">listof</span><span class="hspace">&nbsp;</span><span class="RktSym">Y</span><span class="RktPn">)</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">Y</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._sixth%29%29" class="RktValLink" pltdoc="x">sixth</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktPn">(</span><span class="RktSym">listof</span><span class="hspace">&nbsp;</span><span class="RktSym">Y</span><span class="RktPn">)</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">Y</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._third%29%29" class="RktValLink" pltdoc="x">third</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktPn">(</span><span class="RktSym">cons</span><span class="hspace">&nbsp;</span><span class="RktSym">W</span><span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym">cons</span><span class="hspace">&nbsp;</span><span class="RktSym">Z</span><span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym">cons</span><span class="hspace">&nbsp;</span><span class="RktSym">Y</span><span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym">listof</span><span class="hspace">&nbsp;</span><span class="RktSym">X</span><span class="RktPn">)</span><span class="RktPn">)</span><span class="RktPn">)</span><span class="RktPn">)</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">Y</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;</span><span style="font-weight: bold;">Posns</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._make-posn%29%29" class="RktValLink" pltdoc="x">make-posn</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktSym">number</span><span class="hspace">&nbsp;</span><span class="RktSym">number</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">posn</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._posn%29%29" class="RktValLink" pltdoc="x">posn</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktSym">signature</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._posn-x%29%29" class="RktValLink" pltdoc="x">posn-x</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktSym">posn</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">number</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._posn-y%29%29" class="RktValLink" pltdoc="x">posn-y</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktSym">posn</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">number</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._posn%7E3f%29%29" class="RktValLink" pltdoc="x">posn?</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktSym">anything</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">boolean</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._set-posn-x%21%29%29" class="RktValLink" pltdoc="x">set-posn-x!</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktSym">posn</span><span class="hspace">&nbsp;</span><span class="RktSym">number</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">void</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._set-posn-y%21%29%29" class="RktValLink" pltdoc="x">set-posn-y!</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktSym">posn</span><span class="hspace">&nbsp;</span><span class="RktSym">number</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">void</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;</span><span style="font-weight: bold;">Characters</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._char-%7E3einteger%29%29" class="RktValLink" pltdoc="x">char-&gt;integer</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktSym">char</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">integer</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._char-alphabetic%7E3f%29%29" class="RktValLink" pltdoc="x">char-alphabetic?</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktSym">char</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">boolean</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._char-ci%7E3c%7E3d%7E3f%29%29" class="RktValLink" pltdoc="x">char-ci&lt;=?</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktSym">char</span><span class="hspace">&nbsp;</span><span class="RktSym">char</span><span class="hspace">&nbsp;</span><span class="RktSym">char</span><span class="hspace">&nbsp;</span><span class="RktSym">...</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">boolean</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._char-ci%7E3c%7E3f%29%29" class="RktValLink" pltdoc="x">char-ci&lt;?</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktSym">char</span><span class="hspace">&nbsp;</span><span class="RktSym">char</span><span class="hspace">&nbsp;</span><span class="RktSym">char</span><span class="hspace">&nbsp;</span><span class="RktSym">...</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">boolean</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._char-ci%7E3d%7E3f%29%29" class="RktValLink" pltdoc="x">char-ci=?</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktSym">char</span><span class="hspace">&nbsp;</span><span class="RktSym">char</span><span class="hspace">&nbsp;</span><span class="RktSym">char</span><span class="hspace">&nbsp;</span><span class="RktSym">...</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">boolean</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._char-ci%7E3e%7E3d%7E3f%29%29" class="RktValLink" pltdoc="x">char-ci&gt;=?</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktSym">char</span><span class="hspace">&nbsp;</span><span class="RktSym">char</span><span class="hspace">&nbsp;</span><span class="RktSym">char</span><span class="hspace">&nbsp;</span><span class="RktSym">...</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">boolean</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._char-ci%7E3e%7E3f%29%29" class="RktValLink" pltdoc="x">char-ci&gt;?</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktSym">char</span><span class="hspace">&nbsp;</span><span class="RktSym">char</span><span class="hspace">&nbsp;</span><span class="RktSym">char</span><span class="hspace">&nbsp;</span><span class="RktSym">...</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">boolean</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._char-downcase%29%29" class="RktValLink" pltdoc="x">char-downcase</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktSym">char</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">char</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._char-lower-case%7E3f%29%29" class="RktValLink" pltdoc="x">char-lower-case?</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktSym">char</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">boolean</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._char-numeric%7E3f%29%29" class="RktValLink" pltdoc="x">char-numeric?</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktSym">char</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">boolean</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._char-upcase%29%29" class="RktValLink" pltdoc="x">char-upcase</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktSym">char</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">char</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._char-upper-case%7E3f%29%29" class="RktValLink" pltdoc="x">char-upper-case?</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktSym">char</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">boolean</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._char-whitespace%7E3f%29%29" class="RktValLink" pltdoc="x">char-whitespace?</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktSym">char</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">boolean</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._char%7E3c%7E3d%7E3f%29%29" class="RktValLink" pltdoc="x">char&lt;=?</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktSym">char</span><span class="hspace">&nbsp;</span><span class="RktSym">char</span><span class="hspace">&nbsp;</span><span class="RktSym">char</span><span class="hspace">&nbsp;</span><span class="RktSym">...</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">boolean</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._char%7E3c%7E3f%29%29" class="RktValLink" pltdoc="x">char&lt;?</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktSym">char</span><span class="hspace">&nbsp;</span><span class="RktSym">char</span><span class="hspace">&nbsp;</span><span class="RktSym">char</span><span class="hspace">&nbsp;</span><span class="RktSym">...</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">boolean</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._char%7E3d%7E3f%29%29" class="RktValLink" pltdoc="x">char=?</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktSym">char</span><span class="hspace">&nbsp;</span><span class="RktSym">char</span><span class="hspace">&nbsp;</span><span class="RktSym">char</span><span class="hspace">&nbsp;</span><span class="RktSym">...</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">boolean</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._char%7E3e%7E3d%7E3f%29%29" class="RktValLink" pltdoc="x">char&gt;=?</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktSym">char</span><span class="hspace">&nbsp;</span><span class="RktSym">char</span><span class="hspace">&nbsp;</span><span class="RktSym">char</span><span class="hspace">&nbsp;</span><span class="RktSym">...</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">boolean</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._char%7E3e%7E3f%29%29" class="RktValLink" pltdoc="x">char&gt;?</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktSym">char</span><span class="hspace">&nbsp;</span><span class="RktSym">char</span><span class="hspace">&nbsp;</span><span class="RktSym">char</span><span class="hspace">&nbsp;</span><span class="RktSym">...</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">boolean</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._char%7E3f%29%29" class="RktValLink" pltdoc="x">char?</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktSym">any</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">boolean</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;</span><span style="font-weight: bold;">Strings</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._explode%29%29" class="RktValLink" pltdoc="x">explode</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktSym">string</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym">listof</span><span class="hspace">&nbsp;</span><span class="RktSym">string</span><span class="RktPn">)</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._format%29%29" class="RktValLink" pltdoc="x">format</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktSym">string</span><span class="hspace">&nbsp;</span><span class="RktSym">any</span><span class="hspace">&nbsp;</span><span class="RktSym">...</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">string</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._implode%29%29" class="RktValLink" pltdoc="x">implode</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktPn">(</span><span class="RktSym">listof</span><span class="hspace">&nbsp;</span><span class="RktSym">string</span><span class="RktPn">)</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">string</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._int-%7E3estring%29%29" class="RktValLink" pltdoc="x">int-&gt;string</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktSym">integer</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">string</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._list-%7E3estring%29%29" class="RktValLink" pltdoc="x">list-&gt;string</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktPn">(</span><span class="RktSym">listof</span><span class="hspace">&nbsp;</span><span class="RktSym">char</span><span class="RktPn">)</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">string</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._make-string%29%29" class="RktValLink" pltdoc="x">make-string</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktSym">nat</span><span class="hspace">&nbsp;</span><span class="RktSym">char</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">string</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._replicate%29%29" class="RktValLink" pltdoc="x">replicate</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktSym">nat</span><span class="hspace">&nbsp;</span><span class="RktSym">string</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">string</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._string%29%29" class="RktValLink" pltdoc="x">string</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktSym">char</span><span class="hspace">&nbsp;</span><span class="RktSym">...</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">string</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._string-%7E3eint%29%29" class="RktValLink" pltdoc="x">string-&gt;int</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktSym">string</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">integer</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._string-%7E3elist%29%29" class="RktValLink" pltdoc="x">string-&gt;list</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktSym">string</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym">listof</span><span class="hspace">&nbsp;</span><span class="RktSym">char</span><span class="RktPn">)</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._string-%7E3enumber%29%29" class="RktValLink" pltdoc="x">string-&gt;number</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktSym">string</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym">union</span><span class="hspace">&nbsp;</span><span class="RktSym">number</span><span class="hspace">&nbsp;</span><span class="RktSym">false</span><span class="RktPn">)</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._string-%7E3esymbol%29%29" class="RktValLink" pltdoc="x">string-&gt;symbol</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktSym">string</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">symbol</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._string-alphabetic%7E3f%29%29" class="RktValLink" pltdoc="x">string-alphabetic?</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktSym">string</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">boolean</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._string-append%29%29" class="RktValLink" pltdoc="x">string-append</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktSym">string</span><span class="hspace">&nbsp;</span><span class="RktSym">...</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">string</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._string-ci%7E3c%7E3d%7E3f%29%29" class="RktValLink" pltdoc="x">string-ci&lt;=?</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktSym">string</span><span class="hspace">&nbsp;</span><span class="RktSym">string</span><span class="hspace">&nbsp;</span><span class="RktSym">string</span><span class="hspace">&nbsp;</span><span class="RktSym">...</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">boolean</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._string-ci%7E3c%7E3f%29%29" class="RktValLink" pltdoc="x">string-ci&lt;?</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktSym">string</span><span class="hspace">&nbsp;</span><span class="RktSym">string</span><span class="hspace">&nbsp;</span><span class="RktSym">string</span><span class="hspace">&nbsp;</span><span class="RktSym">...</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">boolean</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._string-ci%7E3d%7E3f%29%29" class="RktValLink" pltdoc="x">string-ci=?</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktSym">string</span><span class="hspace">&nbsp;</span><span class="RktSym">string</span><span class="hspace">&nbsp;</span><span class="RktSym">string</span><span class="hspace">&nbsp;</span><span class="RktSym">...</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">boolean</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._string-ci%7E3e%7E3d%7E3f%29%29" class="RktValLink" pltdoc="x">string-ci&gt;=?</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktSym">string</span><span class="hspace">&nbsp;</span><span class="RktSym">string</span><span class="hspace">&nbsp;</span><span class="RktSym">string</span><span class="hspace">&nbsp;</span><span class="RktSym">...</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">boolean</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._string-ci%7E3e%7E3f%29%29" class="RktValLink" pltdoc="x">string-ci&gt;?</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktSym">string</span><span class="hspace">&nbsp;</span><span class="RktSym">string</span><span class="hspace">&nbsp;</span><span class="RktSym">string</span><span class="hspace">&nbsp;</span><span class="RktSym">...</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">boolean</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._string-copy%29%29" class="RktValLink" pltdoc="x">string-copy</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktSym">string</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">string</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._string-ith%29%29" class="RktValLink" pltdoc="x">string-ith</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktSym">string</span><span class="hspace">&nbsp;</span><span class="RktSym">nat</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">string</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._string-length%29%29" class="RktValLink" pltdoc="x">string-length</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktSym">string</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">nat</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._string-lower-case%7E3f%29%29" class="RktValLink" pltdoc="x">string-lower-case?</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktSym">string</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">boolean</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._string-numeric%7E3f%29%29" class="RktValLink" pltdoc="x">string-numeric?</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktSym">string</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">boolean</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._string-ref%29%29" class="RktValLink" pltdoc="x">string-ref</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktSym">string</span><span class="hspace">&nbsp;</span><span class="RktSym">nat</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">char</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._string-upper-case%7E3f%29%29" class="RktValLink" pltdoc="x">string-upper-case?</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktSym">string</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">boolean</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._string-whitespace%7E3f%29%29" class="RktValLink" pltdoc="x">string-whitespace?</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktSym">string</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">boolean</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._string%7E3c%7E3d%7E3f%29%29" class="RktValLink" pltdoc="x">string&lt;=?</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktSym">string</span><span class="hspace">&nbsp;</span><span class="RktSym">string</span><span class="hspace">&nbsp;</span><span class="RktSym">string</span><span class="hspace">&nbsp;</span><span class="RktSym">...</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">boolean</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._string%7E3c%7E3f%29%29" class="RktValLink" pltdoc="x">string&lt;?</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktSym">string</span><span class="hspace">&nbsp;</span><span class="RktSym">string</span><span class="hspace">&nbsp;</span><span class="RktSym">string</span><span class="hspace">&nbsp;</span><span class="RktSym">...</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">boolean</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._string%7E3d%7E3f%29%29" class="RktValLink" pltdoc="x">string=?</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktSym">string</span><span class="hspace">&nbsp;</span><span class="RktSym">string</span><span class="hspace">&nbsp;</span><span class="RktSym">string</span><span class="hspace">&nbsp;</span><span class="RktSym">...</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">boolean</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._string%7E3e%7E3d%7E3f%29%29" class="RktValLink" pltdoc="x">string&gt;=?</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktSym">string</span><span class="hspace">&nbsp;</span><span class="RktSym">string</span><span class="hspace">&nbsp;</span><span class="RktSym">string</span><span class="hspace">&nbsp;</span><span class="RktSym">...</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">boolean</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._string%7E3e%7E3f%29%29" class="RktValLink" pltdoc="x">string&gt;?</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktSym">string</span><span class="hspace">&nbsp;</span><span class="RktSym">string</span><span class="hspace">&nbsp;</span><span class="RktSym">string</span><span class="hspace">&nbsp;</span><span class="RktSym">...</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">boolean</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._string%7E3f%29%29" class="RktValLink" pltdoc="x">string?</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktSym">any</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">boolean</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._substring%29%29" class="RktValLink" pltdoc="x">substring</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktSym">string</span><span class="hspace">&nbsp;</span><span class="RktSym">nat</span><span class="hspace">&nbsp;</span><span class="RktSym">nat</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">string</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;</span><span style="font-weight: bold;">Images</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._image%7E3d%7E3f%29%29" class="RktValLink" pltdoc="x">image=?</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktSym">image</span><span class="hspace">&nbsp;</span><span class="RktSym">image</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">boolean</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._image%7E3f%29%29" class="RktValLink" pltdoc="x">image?</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktSym">any</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">boolean</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;</span><span style="font-weight: bold;">Misc</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._%7E3d%7E7e%29%29" class="RktValLink" pltdoc="x">=~</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktSym">real</span><span class="hspace">&nbsp;</span><span class="RktSym">real</span><span class="hspace">&nbsp;</span><span class="RktSym">non-negative-real</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">boolean</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._current-milliseconds%29%29" class="RktValLink" pltdoc="x">current-milliseconds</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">exact-integer</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._eof%29%29" class="RktValLink" pltdoc="x">eof</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktSym">eof</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._eof-object%7E3f%29%29" class="RktValLink" pltdoc="x">eof-object?</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktSym">any</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">boolean</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._eq%7E3f%29%29" class="RktValLink" pltdoc="x">eq?</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktSym">any</span><span class="hspace">&nbsp;</span><span class="RktSym">any</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">boolean</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._equal%7E3f%29%29" class="RktValLink" pltdoc="x">equal?</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktSym">any</span><span class="hspace">&nbsp;</span><span class="RktSym">any</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">boolean</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._equal%7E7e%7E3f%29%29" class="RktValLink" pltdoc="x">equal~?</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktSym">any</span><span class="hspace">&nbsp;</span><span class="RktSym">any</span><span class="hspace">&nbsp;</span><span class="RktSym">non-negative-real</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">boolean</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._eqv%7E3f%29%29" class="RktValLink" pltdoc="x">eqv?</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktSym">any</span><span class="hspace">&nbsp;</span><span class="RktSym">any</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">boolean</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._error%29%29" class="RktValLink" pltdoc="x">error</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktSym">any</span><span class="hspace">&nbsp;</span><span class="RktSym">...</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">void</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._exit%29%29" class="RktValLink" pltdoc="x">exit</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">void</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._force%29%29" class="RktValLink" pltdoc="x">force</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktSym">delay</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">any</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._gensym%29%29" class="RktValLink" pltdoc="x">gensym</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">symbol?</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._identity%29%29" class="RktValLink" pltdoc="x">identity</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktSym">any</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">any</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._promise%7E3f%29%29" class="RktValLink" pltdoc="x">promise?</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktSym">any</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">boolean</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._sleep%29%29" class="RktValLink" pltdoc="x">sleep</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">positive-number</span><span class="hspace">&nbsp;</span><span class="RktSym">void</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._struct%7E3f%29%29" class="RktValLink" pltdoc="x">struct?</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktSym">any</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">boolean</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._void%29%29" class="RktValLink" pltdoc="x">void</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">void</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._void%7E3f%29%29" class="RktValLink" pltdoc="x">void?</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktSym">any</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">boolean</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;</span><span style="font-weight: bold;">Numbers (relaxed conditions)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._*%29%29" class="RktValLink" pltdoc="x">*</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktSym">number</span><span class="hspace">&nbsp;</span><span class="RktSym">...</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">number</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._+%29%29" class="RktValLink" pltdoc="x">+</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktSym">number</span><span class="hspace">&nbsp;</span><span class="RktSym">...</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">number</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._-%29%29" class="RktValLink" pltdoc="x">-</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktSym">number</span><span class="hspace">&nbsp;</span><span class="RktSym">...</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">number</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._/%29%29" class="RktValLink" pltdoc="x">/</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktSym">number</span><span class="hspace">&nbsp;</span><span class="RktSym">...</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">number</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;</span><span style="font-weight: bold;">Higher-Order Functions</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._andmap%29%29" class="RktValLink" pltdoc="x">andmap</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktPn">(</span><span class="RktSym">X</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">boolean</span><span class="RktPn">)</span><span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym">listof</span><span class="hspace">&nbsp;</span><span class="RktSym">X</span><span class="RktPn">)</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">boolean</span><span class="RktPn">)</span></p></td></tr><tr><td><table class="prototype" cellspacing="0"><tbody><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._apply%29%29" class="RktValLink" pltdoc="x">apply</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span></p></td><td><table class="RktBlk" cellspacing="0"><tbody><tr><td><span class="RktPn">(</span><span class="RktPn">(</span><span class="RktSym">X-1</span><span class="hspace">&nbsp;</span><span class="RktSym">...</span><span class="hspace">&nbsp;</span><span class="RktSym">X-N</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">Y</span><span class="RktPn">)</span></td></tr><tr><td><span class="hspace">&nbsp;</span><span class="RktSym">X-1</span></td></tr><tr><td><span class="hspace">&nbsp;</span><span class="RktSym">...</span></td></tr><tr><td><span class="hspace">&nbsp;</span><span class="RktSym">X-i</span></td></tr><tr><td><span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym">list</span><span class="hspace">&nbsp;</span><span class="RktSym">X-i+1</span><span class="hspace">&nbsp;</span><span class="RktSym">...</span><span class="hspace">&nbsp;</span><span class="RktSym">X-N</span><span class="RktPn">)</span></td></tr><tr><td><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span></td></tr><tr><td><span class="hspace">&nbsp;</span><span class="RktSym">Y</span><span class="RktPn">)</span></td></tr></tbody></table></td></tr></tbody></table></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._argmax%29%29" class="RktValLink" pltdoc="x">argmax</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktPn">(</span><span class="RktSym">X</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">real</span><span class="RktPn">)</span><span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym">listof</span><span class="hspace">&nbsp;</span><span class="RktSym">X</span><span class="RktPn">)</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">X</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._argmin%29%29" class="RktValLink" pltdoc="x">argmin</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktPn">(</span><span class="RktSym">X</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">real</span><span class="RktPn">)</span><span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym">listof</span><span class="hspace">&nbsp;</span><span class="RktSym">X</span><span class="RktPn">)</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">X</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._build-list%29%29" class="RktValLink" pltdoc="x">build-list</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktSym">nat</span><span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym">nat</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">X</span><span class="RktPn">)</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym">listof</span><span class="hspace">&nbsp;</span><span class="RktSym">X</span><span class="RktPn">)</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._build-string%29%29" class="RktValLink" pltdoc="x">build-string</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktSym">nat</span><span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym">nat</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">char</span><span class="RktPn">)</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">string</span><span class="RktPn">)</span></p></td></tr><tr><td><table class="prototype" cellspacing="0"><tbody><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._compose%29%29" class="RktValLink" pltdoc="x">compose</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span></p></td><td><table class="RktBlk" cellspacing="0"><tbody><tr><td><span class="RktPn">(</span><span class="RktPn">(</span><span class="RktSym">Y-1</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">Z</span><span class="RktPn">)</span></td></tr><tr><td><span class="hspace">&nbsp;</span><span class="RktSym">...</span></td></tr><tr><td><span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym">Y-N</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">Y-N-1</span><span class="RktPn">)</span></td></tr><tr><td><span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym">X-1</span><span class="hspace">&nbsp;</span><span class="RktSym">...</span><span class="hspace">&nbsp;</span><span class="RktSym">X-N</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">Y-N</span><span class="RktPn">)</span></td></tr><tr><td><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span></td></tr><tr><td><span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym">X-1</span><span class="hspace">&nbsp;</span><span class="RktSym">...</span><span class="hspace">&nbsp;</span><span class="RktSym">X-N</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">Z</span><span class="RktPn">)</span><span class="RktPn">)</span></td></tr></tbody></table></td></tr></tbody></table></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._filter%29%29" class="RktValLink" pltdoc="x">filter</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktPn">(</span><span class="RktSym">X</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">boolean</span><span class="RktPn">)</span><span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym">listof</span><span class="hspace">&nbsp;</span><span class="RktSym">X</span><span class="RktPn">)</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym">listof</span><span class="hspace">&nbsp;</span><span class="RktSym">X</span><span class="RktPn">)</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._foldl%29%29" class="RktValLink" pltdoc="x">foldl</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktPn">(</span><span class="RktSym">X</span><span class="hspace">&nbsp;</span><span class="RktSym">Y</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">Y</span><span class="RktPn">)</span><span class="hspace">&nbsp;</span><span class="RktSym">Y</span><span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym">listof</span><span class="hspace">&nbsp;</span><span class="RktSym">X</span><span class="RktPn">)</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">Y</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._foldr%29%29" class="RktValLink" pltdoc="x">foldr</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktPn">(</span><span class="RktSym">X</span><span class="hspace">&nbsp;</span><span class="RktSym">Y</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">Y</span><span class="RktPn">)</span><span class="hspace">&nbsp;</span><span class="RktSym">Y</span><span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym">listof</span><span class="hspace">&nbsp;</span><span class="RktSym">X</span><span class="RktPn">)</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">Y</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._for-each%29%29" class="RktValLink" pltdoc="x">for-each</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktPn">(</span><span class="RktSym">any</span><span class="hspace">&nbsp;</span><span class="RktSym">...</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">any</span><span class="RktPn">)</span><span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym">listof</span><span class="hspace">&nbsp;</span><span class="RktSym">any</span><span class="RktPn">)</span><span class="hspace">&nbsp;</span><span class="RktSym">...</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">void</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._map%29%29" class="RktValLink" pltdoc="x">map</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktPn">(</span><span class="RktSym">X</span><span class="hspace">&nbsp;</span><span class="RktSym">...</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">Z</span><span class="RktPn">)</span><span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym">listof</span><span class="hspace">&nbsp;</span><span class="RktSym">X</span><span class="RktPn">)</span><span class="hspace">&nbsp;</span><span class="RktSym">...</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym">listof</span><span class="hspace">&nbsp;</span><span class="RktSym">Z</span><span class="RktPn">)</span><span class="RktPn">)</span></p></td></tr><tr><td><table class="prototype" cellspacing="0"><tbody><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._memf%29%29" class="RktValLink" pltdoc="x">memf</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span></p></td><td><table class="RktBlk" cellspacing="0"><tbody><tr><td><span class="RktPn">(</span><span class="RktPn">(</span><span class="RktSym">X</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">boolean</span><span class="RktPn">)</span></td></tr><tr><td><span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym">listof</span><span class="hspace">&nbsp;</span><span class="RktSym">X</span><span class="RktPn">)</span></td></tr><tr><td><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span></td></tr><tr><td><span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym">union</span><span class="hspace">&nbsp;</span><span class="RktSym">false</span><span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym">listof</span><span class="hspace">&nbsp;</span><span class="RktSym">X</span><span class="RktPn">)</span><span class="RktPn">)</span><span class="RktPn">)</span></td></tr></tbody></table></td></tr></tbody></table></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._ormap%29%29" class="RktValLink" pltdoc="x">ormap</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktPn">(</span><span class="RktSym">X</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">boolean</span><span class="RktPn">)</span><span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym">listof</span><span class="hspace">&nbsp;</span><span class="RktSym">X</span><span class="RktPn">)</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">boolean</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._procedure%7E3f%29%29" class="RktValLink" pltdoc="x">procedure?</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktSym">any</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">boolean</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._quicksort%29%29" class="RktValLink" pltdoc="x">quicksort</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktPn">(</span><span class="RktSym">listof</span><span class="hspace">&nbsp;</span><span class="RktSym">X</span><span class="RktPn">)</span><span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym">X</span><span class="hspace">&nbsp;</span><span class="RktSym">X</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">boolean</span><span class="RktPn">)</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym">listof</span><span class="hspace">&nbsp;</span><span class="RktSym">X</span><span class="RktPn">)</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._sort%29%29" class="RktValLink" pltdoc="x">sort</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktPn">(</span><span class="RktSym">listof</span><span class="hspace">&nbsp;</span><span class="RktSym">X</span><span class="RktPn">)</span><span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym">X</span><span class="hspace">&nbsp;</span><span class="RktSym">X</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">boolean</span><span class="RktPn">)</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym">listof</span><span class="hspace">&nbsp;</span><span class="RktSym">X</span><span class="RktPn">)</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;</span><span style="font-weight: bold;">Reading and Printing</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._display%29%29" class="RktValLink" pltdoc="x">display</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktSym">any</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">void</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._newline%29%29" class="RktValLink" pltdoc="x">newline</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">void</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._pretty-print%29%29" class="RktValLink" pltdoc="x">pretty-print</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktSym">any</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">void</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._print%29%29" class="RktValLink" pltdoc="x">print</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktSym">any</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">void</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._printf%29%29" class="RktValLink" pltdoc="x">printf</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktSym">string</span><span class="hspace">&nbsp;</span><span class="RktSym">any</span><span class="hspace">&nbsp;</span><span class="RktSym">...</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">void</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._read%29%29" class="RktValLink" pltdoc="x">read</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">sexp</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._with-input-from-file%29%29" class="RktValLink" pltdoc="x">with-input-from-file</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktSym">string</span><span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">any</span><span class="RktPn">)</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">any</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._with-input-from-string%29%29" class="RktValLink" pltdoc="x">with-input-from-string</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktSym">string</span><span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">any</span><span class="RktPn">)</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">any</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._with-output-to-file%29%29" class="RktValLink" pltdoc="x">with-output-to-file</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktSym">string</span><span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">any</span><span class="RktPn">)</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">any</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._with-output-to-string%29%29" class="RktValLink" pltdoc="x">with-output-to-string</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktSym">string</span><span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">any</span><span class="RktPn">)</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">any</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._write%29%29" class="RktValLink" pltdoc="x">write</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktSym">any</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">void</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;</span><span style="font-weight: bold;">Vectors</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._build-vector%29%29" class="RktValLink" pltdoc="x">build-vector</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktSym">nat</span><span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym">nat</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">X</span><span class="RktPn">)</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym">vectorof</span><span class="hspace">&nbsp;</span><span class="RktSym">X</span><span class="RktPn">)</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._make-vector%29%29" class="RktValLink" pltdoc="x">make-vector</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktSym">number</span><span class="hspace">&nbsp;</span><span class="RktSym">X</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym">vectorof</span><span class="hspace">&nbsp;</span><span class="RktSym">X</span><span class="RktPn">)</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._vector%29%29" class="RktValLink" pltdoc="x">vector</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktSym">X</span><span class="hspace">&nbsp;</span><span class="RktSym">...</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym">vector</span><span class="hspace">&nbsp;</span><span class="RktSym">X</span><span class="hspace">&nbsp;</span><span class="RktSym">...</span><span class="RktPn">)</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._vector-length%29%29" class="RktValLink" pltdoc="x">vector-length</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktPn">(</span><span class="RktSym">vector</span><span class="hspace">&nbsp;</span><span class="RktSym">X</span><span class="RktPn">)</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">nat</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._vector-ref%29%29" class="RktValLink" pltdoc="x">vector-ref</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktPn">(</span><span class="RktSym">vector</span><span class="hspace">&nbsp;</span><span class="RktSym">X</span><span class="RktPn">)</span><span class="hspace">&nbsp;</span><span class="RktSym">nat</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">X</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._vector-set%21%29%29" class="RktValLink" pltdoc="x">vector-set!</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktPn">(</span><span class="RktSym">vectorof</span><span class="hspace">&nbsp;</span><span class="RktSym">X</span><span class="RktPn">)</span><span class="hspace">&nbsp;</span><span class="RktSym">nat</span><span class="hspace">&nbsp;</span><span class="RktSym">X</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">void</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._vector%7E3f%29%29" class="RktValLink" pltdoc="x">vector?</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktSym">any</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">boolean</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;</span><span style="font-weight: bold;">Boxes</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._box%29%29" class="RktValLink" pltdoc="x">box</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktSym">any</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">box</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._box%7E3f%29%29" class="RktValLink" pltdoc="x">box?</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktSym">any</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">boolean</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._set-box%21%29%29" class="RktValLink" pltdoc="x">set-box!</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktSym">box</span><span class="hspace">&nbsp;</span><span class="RktSym">any</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">void</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._unbox%29%29" class="RktValLink" pltdoc="x">unbox</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktSym">box</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">any</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;</span><span style="font-weight: bold;">Hash Tables</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._hash-copy%29%29" class="RktValLink" pltdoc="x">hash-copy</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktSym">hash</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">hash</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._hash-count%29%29" class="RktValLink" pltdoc="x">hash-count</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktSym">hash</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">integer</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._hash-eq%7E3f%29%29" class="RktValLink" pltdoc="x">hash-eq?</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktSym">hash</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">boolean</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._hash-equal%7E3f%29%29" class="RktValLink" pltdoc="x">hash-equal?</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktSym">hash</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">boolean</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._hash-eqv%7E3f%29%29" class="RktValLink" pltdoc="x">hash-eqv?</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktSym">hash</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">boolean</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._hash-for-each%29%29" class="RktValLink" pltdoc="x">hash-for-each</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktPn">(</span><span class="RktSym">hash</span><span class="hspace">&nbsp;</span><span class="RktSym">X</span><span class="hspace">&nbsp;</span><span class="RktSym">Y</span><span class="RktPn">)</span><span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym">X</span><span class="hspace">&nbsp;</span><span class="RktSym">Y</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">any</span><span class="RktPn">)</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">void</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._hash-has-key%7E3f%29%29" class="RktValLink" pltdoc="x">hash-has-key?</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktPn">(</span><span class="RktSym">hash</span><span class="hspace">&nbsp;</span><span class="RktSym">X</span><span class="hspace">&nbsp;</span><span class="RktSym">Y</span><span class="RktPn">)</span><span class="hspace">&nbsp;</span><span class="RktSym">X</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">boolean</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._hash-map%29%29" class="RktValLink" pltdoc="x">hash-map</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktPn">(</span><span class="RktSym">hash</span><span class="hspace">&nbsp;</span><span class="RktSym">X</span><span class="hspace">&nbsp;</span><span class="RktSym">Y</span><span class="RktPn">)</span><span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym">X</span><span class="hspace">&nbsp;</span><span class="RktSym">Y</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">A</span><span class="RktPn">)</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym">listof</span><span class="hspace">&nbsp;</span><span class="RktSym">A</span><span class="RktPn">)</span><span class="RktPn">)</span></p></td></tr><tr><td><table class="prototype" cellspacing="0"><tbody><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._hash-ref%29%29" class="RktValLink" pltdoc="x">hash-ref</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span></p></td><td><table class="RktBlk" cellspacing="0"><tbody><tr><td><span class="RktPn">(</span><span class="RktSym">case-&gt;</span></td></tr><tr><td><span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktPn">(</span><span class="RktSym">hash</span><span class="hspace">&nbsp;</span><span class="RktSym">X</span><span class="hspace">&nbsp;</span><span class="RktSym">Y</span><span class="RktPn">)</span><span class="hspace">&nbsp;</span><span class="RktSym">X</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">Y</span><span class="RktPn">)</span></td></tr><tr><td><span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktPn">(</span><span class="RktSym">hash</span><span class="hspace">&nbsp;</span><span class="RktSym">X</span><span class="hspace">&nbsp;</span><span class="RktSym">Y</span><span class="RktPn">)</span><span class="hspace">&nbsp;</span><span class="RktSym">X</span><span class="hspace">&nbsp;</span><span class="RktSym">Y</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">Y</span><span class="RktPn">)</span></td></tr><tr><td><span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktPn">(</span><span class="RktSym">hash</span><span class="hspace">&nbsp;</span><span class="RktSym">X</span><span class="hspace">&nbsp;</span><span class="RktSym">Y</span><span class="RktPn">)</span><span class="hspace">&nbsp;</span><span class="RktSym">X</span><span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">Y</span><span class="RktPn">)</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">Y</span><span class="RktPn">)</span><span class="RktPn">)</span></td></tr></tbody></table></td></tr></tbody></table></td></tr><tr><td><table class="prototype" cellspacing="0"><tbody><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._hash-ref%21%29%29" class="RktValLink" pltdoc="x">hash-ref!</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span></p></td><td><table class="RktBlk" cellspacing="0"><tbody><tr><td><span class="RktPn">(</span><span class="RktSym">case-&gt;</span></td></tr><tr><td><span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktPn">(</span><span class="RktSym">hash</span><span class="hspace">&nbsp;</span><span class="RktSym">X</span><span class="hspace">&nbsp;</span><span class="RktSym">Y</span><span class="RktPn">)</span><span class="hspace">&nbsp;</span><span class="RktSym">X</span><span class="hspace">&nbsp;</span><span class="RktSym">Y</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">Y</span><span class="RktPn">)</span></td></tr><tr><td><span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktPn">(</span><span class="RktSym">hash</span><span class="hspace">&nbsp;</span><span class="RktSym">X</span><span class="hspace">&nbsp;</span><span class="RktSym">Y</span><span class="RktPn">)</span><span class="hspace">&nbsp;</span><span class="RktSym">X</span><span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">Y</span><span class="RktPn">)</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">Y</span><span class="RktPn">)</span><span class="RktPn">)</span></td></tr></tbody></table></td></tr></tbody></table></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._hash-remove%21%29%29" class="RktValLink" pltdoc="x">hash-remove!</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktPn">(</span><span class="RktSym">hash</span><span class="hspace">&nbsp;</span><span class="RktSym">X</span><span class="hspace">&nbsp;</span><span class="RktSym">Y</span><span class="RktPn">)</span><span class="hspace">&nbsp;</span><span class="RktSym">X</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">void</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._hash-set%21%29%29" class="RktValLink" pltdoc="x">hash-set!</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktPn">(</span><span class="RktSym">hash</span><span class="hspace">&nbsp;</span><span class="RktSym">X</span><span class="hspace">&nbsp;</span><span class="RktSym">Y</span><span class="RktPn">)</span><span class="hspace">&nbsp;</span><span class="RktSym">X</span><span class="hspace">&nbsp;</span><span class="RktSym">Y</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">void</span><span class="RktPn">)</span></p></td></tr><tr><td><table class="prototype" cellspacing="0"><tbody><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._hash-update%21%29%29" class="RktValLink" pltdoc="x">hash-update!</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span></p></td><td><table class="RktBlk" cellspacing="0"><tbody><tr><td><span class="RktPn">(</span><span class="RktSym">case-&gt;</span></td></tr><tr><td><span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktPn">(</span><span class="RktSym">hash</span><span class="hspace">&nbsp;</span><span class="RktSym">X</span><span class="hspace">&nbsp;</span><span class="RktSym">Y</span><span class="RktPn">)</span><span class="hspace">&nbsp;</span><span class="RktSym">X</span><span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym">Y</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">Y</span><span class="RktPn">)</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">void</span><span class="RktPn">)</span></td></tr><tr><td><span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktPn">(</span><span class="RktSym">hash</span><span class="hspace">&nbsp;</span><span class="RktSym">X</span><span class="hspace">&nbsp;</span><span class="RktSym">Y</span><span class="RktPn">)</span><span class="hspace">&nbsp;</span><span class="RktSym">X</span><span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym">Y</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">Y</span><span class="RktPn">)</span><span class="hspace">&nbsp;</span><span class="RktSym">Y</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">void</span><span class="RktPn">)</span></td></tr><tr><td><span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktPn">(</span><span class="RktSym">hash</span><span class="hspace">&nbsp;</span><span class="RktSym">X</span><span class="hspace">&nbsp;</span><span class="RktSym">Y</span><span class="RktPn">)</span><span class="hspace">&nbsp;</span><span class="RktSym">X</span><span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym">Y</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">Y</span><span class="RktPn">)</span><span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">Y</span><span class="RktPn">)</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">void</span><span class="RktPn">)</span><span class="RktPn">)</span></td></tr></tbody></table></td></tr></tbody></table></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._hash%7E3f%29%29" class="RktValLink" pltdoc="x">hash?</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktSym">any</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktSym">boolean</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._make-hash%29%29" class="RktValLink" pltdoc="x">make-hash</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktPn">(</span><span class="RktSym">listof</span><span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym">list</span><span class="hspace">&nbsp;</span><span class="RktSym">X</span><span class="hspace">&nbsp;</span><span class="RktSym">Y</span><span class="RktPn">)</span><span class="RktPn">)</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym">hash</span><span class="hspace">&nbsp;</span><span class="RktSym">X</span><span class="hspace">&nbsp;</span><span class="RktSym">Y</span><span class="RktPn">)</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._make-hasheq%29%29" class="RktValLink" pltdoc="x">make-hasheq</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktPn">(</span><span class="RktSym">listof</span><span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym">list</span><span class="hspace">&nbsp;</span><span class="RktSym">X</span><span class="hspace">&nbsp;</span><span class="RktSym">Y</span><span class="RktPn">)</span><span class="RktPn">)</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym">hash</span><span class="hspace">&nbsp;</span><span class="RktSym">X</span><span class="hspace">&nbsp;</span><span class="RktSym">Y</span><span class="RktPn">)</span><span class="RktPn">)</span></p></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym"><a href="http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#%28def._%28lib._htdp-advanced..ss._lang%29._%28%28lib._lang/htdp-advanced..rkt%29._make-hasheqv%29%29" class="RktValLink" pltdoc="x">make-hasheqv</a></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span> <span class="RktPn">(</span><span class="RktPn">(</span><span class="RktSym">listof</span><span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym">list</span><span class="hspace">&nbsp;</span><span class="RktSym">X</span><span class="hspace">&nbsp;</span><span class="RktSym">Y</span><span class="RktPn">)</span><span class="RktPn">)</span><span class="hspace">&nbsp;</span><span class="RktSym">-&gt;</span><span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym">hash</span><span class="hspace">&nbsp;</span><span class="RktSym">X</span><span class="hspace">&nbsp;</span><span class="RktSym">Y</span><span class="RktPn">)</span><span class="RktPn">)</span></p></td></tr></tbody></table></p><div class="navsetbottom"><span class="navleft"><form class="searchform"><input class="searchbox" style="color: rgb(136, 136, 136);" value="...search manuals..." title="Enter a search string to search the manuals" onkeypress='return DoSearchKey(event, this, "5.0.1", "../");' onfocus='this.style.color="black"; this.style.textAlign="left"; if (this.value == "...search manuals...") this.value="";' onblur='if (this.value.match(/^ *$/)) { this.style.color="#888"; this.style.textAlign="center"; this.value="...search manuals..."; }' type="text"></form>&nbsp;&nbsp;<a href="http://docs.racket-lang.org/index.html" title="up to the documentation top" pltdoc="x" onclick='return GotoPLTRoot("5.0.1");'>top</a></span><span class="navright"><a href="http://docs.racket-lang.org/htdp-langs/intermediate-lambda-unchanged.html" title="backward to &quot;4.5 Unchanged Forms&quot;" pltdoc="x">← prev</a>&nbsp;&nbsp;<a href="http://docs.racket-lang.org/htdp-langs/index.html" title="up to &quot;How to Design Programs Languages&quot;" pltdoc="x">up</a>&nbsp;&nbsp;<a href="http://docs.racket-lang.org/htdp-langs/advanced-define.html" title="forward to &quot;5.1 define&quot;" pltdoc="x">next →</a></span>&nbsp;</div></div></div><div id="contextindicator">&nbsp;</div></body></html>
\ No newline at end of file
diff --git a/DrRacket/advanced_files/racket.css b/DrRacket/advanced_files/racket.css
new file mode 100644 (file)
index 0000000..0644698
--- /dev/null
@@ -0,0 +1,188 @@
+
+/* See the beginning of "scribble.css". */
+
+/* Monospace: */
+.RktIn, .RktRdr, .RktPn, .RktMeta,
+.RktMod, .RktKw, .RktVar, .RktSym,
+.RktRes, .RktOut, .RktCmt, .RktVal {
+  font-family: monospace;
+}
+
+/* Serif: */
+.inheritedlbl {
+  font-family: serif;
+}
+
+/* ---------------------------------------- */
+/* Inherited methods, left margin */
+
+.inherited {
+  width: 100%;
+  margin-top: 0.5em;
+  text-align: left;
+  background-color: #ECF5F5;
+}
+
+.inherited td {
+  font-size: 82%;
+  padding-left: 1em;
+  text-indent: -0.8em;
+  padding-right: 0.2em;
+}
+
+.inheritedlbl {
+  font-style: italic;
+}
+
+/* ---------------------------------------- */
+/* Racket text styles */
+
+.RktIn {
+  color: #cc6633;
+  background-color: #eeeeee;
+}
+
+.RktInBG {
+  background-color: #eeeeee;
+}
+
+.RktRdr {
+}
+
+.RktPn {
+  color: #843c24;
+}
+
+.RktMeta {
+  color: black;
+}
+
+.RktMod {
+  color: black;
+}
+
+.RktOpt {
+  color: black;
+}
+
+.RktKw {
+  color: black;
+  font-weight: bold;
+}
+
+.RktErr {
+  color: red;
+  font-style: italic;
+}
+
+.RktVar {
+  color: #262680;
+  font-style: italic;
+}
+
+.RktSym {
+  color: #262680;
+}
+
+.RktValLink {
+  text-decoration: none;
+  color: blue;
+}
+
+.RktModLink {
+  text-decoration: none;
+  color: blue;
+}
+
+.RktStxLink {
+  text-decoration: none;
+  color: black;
+  font-weight: bold;
+}
+
+.RktRes {
+  color: #0000af;
+}
+
+.RktOut {
+  color: #960096;
+}
+
+.RktCmt {
+  color: #c2741f;
+}
+
+.RktVal {
+  color: #228b22;
+}
+
+/* ---------------------------------------- */
+/* Some inline styles */
+
+.together {
+  width: 100%;
+}
+
+.prototype td {
+  vertical-align: text-top;
+}
+.longprototype td {
+  vertical-align: bottom;
+}
+
+.RktBlk td {
+  vertical-align: baseline;
+}
+
+.argcontract td {
+  vertical-align: text-top;
+}
+
+.highlighted {
+  background-color: #ddddff;
+}
+
+.defmodule {
+  width: 100%;
+  background-color: #F5F5DC;
+}
+
+.specgrammar {
+  float: right;
+}
+
+.RBibliography td {
+  vertical-align: text-top;
+}
+
+.leftindent {
+ margin-left: 1em;
+ margin-right: 0em;
+}
+
+.insetpara {
+ margin-left: 1em;
+ margin-right: 1em;
+}
+
+.Rfilebox {
+  margin-left: 1em;
+  margin-right: 1em;
+}
+
+.Rfiletitle {
+  text-align: right;
+  margin: 0em 0em 0em 0em;
+}
+
+.Rfilename {
+  border-top: 1px solid #6C8585;
+  border-right: 1px solid #6C8585;
+  padding-left: 0.5em;
+  padding-right: 0.5em;
+  background-color: #ECF5F5;
+}
+
+.Rfilecontent {
+  margin: 0em 0em 0em 0em;
+}
diff --git a/DrRacket/advanced_files/scribble-common.js b/DrRacket/advanced_files/scribble-common.js
new file mode 100644 (file)
index 0000000..09c3390
--- /dev/null
@@ -0,0 +1,153 @@
+// Common functionality for PLT documentation pages
+
+// Page Parameters ------------------------------------------------------------
+
+var page_query_string =
+  (location.href.search(/\?([^#]+)(?:#|$)/) >= 0) && RegExp.$1;
+
+var page_args =
+  ((function(){
+      if (!page_query_string) return [];
+      var args = page_query_string.split(/[&;]/);
+      for (var i=0; i<args.length; i++) {
+        var a = args[i];
+        var p = a.indexOf('=');
+        if (p >= 0) args[i] = [a.substring(0,p), a.substring(p+1)];
+        else args[i] = [a, false];
+      }
+      return args;
+    })());
+
+function GetPageArg(key, def) {
+  for (var i=0; i<page_args.length; i++)
+    if (page_args[i][0] == key) return unescape(page_args[i][1]);
+  return def;
+}
+
+function MergePageArgsIntoLink(a) {
+  if (page_args.length == 0 ||
+      (!a.attributes["pltdoc"]) || (a.attributes["pltdoc"].value == ""))
+    return;
+  a.href.search(/^([^?#]*)(?:\?([^#]*))?(#.*)?$/);
+  if (RegExp.$2.length == 0) {
+    a.href = RegExp.$1 + "?" + page_query_string + RegExp.$3;
+  } else {
+    // need to merge here, precedence to arguments that exist in `a'
+    var i, j;
+    var prefix = RegExp.$1, str = RegExp.$2, suffix = RegExp.$3;
+    var args = str.split(/[&;]/);
+    for (i=0; i<args.length; i++) {
+      j = args[i].indexOf('=');
+      if (j) args[i] = args[i].substring(0,j);
+    }
+    var additions = "";
+    for (i=0; i<page_args.length; i++) {
+      var exists = false;
+      for (j=0; j<args.length; j++)
+        if (args[j] == page_args[i][0]) { exists = true; break; }
+      if (!exists) str += "&" + page_args[i][0] + "=" + page_args[i][1];
+    }
+    a.href = prefix + "?" + str + suffix;
+  }
+}
+
+// Cookies --------------------------------------------------------------------
+
+function GetCookie(key, def) {
+  var i, cookiestrs;
+  try {
+    if (document.cookie.length <= 0) return def;
+    cookiestrs = document.cookie.split(/; */);
+  } catch (e) { return def; }
+  for (i = 0; i < cookiestrs.length; i++) {
+    var cur = cookiestrs[i];
+    var eql = cur.indexOf('=');
+    if (eql >= 0 && cur.substring(0,eql) == key)
+      return unescape(cur.substring(eql+1));
+  }
+  return def;
+}
+
+function SetCookie(key, val) {
+  var d = new Date();
+  d.setTime(d.getTime()+(365*24*60*60*1000));
+  try {
+    document.cookie =
+      key + "=" + escape(val) + "; expires="+ d.toGMTString() + "; path=/";
+  } catch (e) {}
+}
+
+// note that this always stores a directory name, ending with a "/"
+function SetPLTRoot(ver, relative) {
+  var root = location.protocol + "//" + location.host
+           + NormalizePath(location.pathname.replace(/[^\/]*$/, relative));
+  SetCookie("PLT_Root."+ver, root);
+}
+
+// adding index.html works because of the above
+function GotoPLTRoot(ver, relative) {
+  var u = GetCookie("PLT_Root."+ver, null);
+  if (u == null) return true; // no cookie: use plain up link
+  // the relative path is optional, default goes to the toplevel start page
+  if (!relative) relative = "index.html";
+  location = u + relative;
+  return false;
+}
+
+// Utilities ------------------------------------------------------------------
+
+normalize_rxs = [/\/\/+/g, /\/\.(\/|$)/, /\/[^\/]*\/\.\.(\/|$)/];
+function NormalizePath(path) {
+  var tmp, i;
+  for (i = 0; i < normalize_rxs.length; i++)
+    while ((tmp = path.replace(normalize_rxs[i], "/")) != path) path = tmp;
+  return path;
+}
+
+// `noscript' is problematic in some browsers (always renders as a
+// block), use this hack instead (does not always work!)
+// document.write("<style>mynoscript { display:none; }</style>");
+
+// Interactions ---------------------------------------------------------------
+
+function DoSearchKey(event, field, ver, top_path) {
+  var val = field.value;
+  if (event && event.keyCode == 13) {
+    var u = GetCookie("PLT_Root."+ver, null);
+    if (u == null) u = top_path; // default: go to the top path
+    u += "search/index.html?q=" + escape(val);
+    if (page_query_string) u += "&" + page_query_string;
+    location = u;
+    return false;
+  }
+  return true;
+}
+
+function TocviewToggle(glyph, id) {
+  var s = document.getElementById(id).style;
+  var expand = s.display == "none";
+  s.display = expand ? "block" : "none";
+  glyph.innerHTML = expand ? "&#9660;" : "&#9658;";
+}
+
+// Page Init ------------------------------------------------------------------
+
+// Note: could make a function that inspects and uses window.onload to chain to
+// a previous one, but this file needs to be required first anyway, since it
+// contains utilities for all other files.
+var on_load_funcs = [];
+function AddOnLoad(fun) { on_load_funcs.push(fun); }
+window.onload = function() {
+  for (var i=0; i<on_load_funcs.length; i++) on_load_funcs[i]();
+};
+
+AddOnLoad(function(){
+    var links = document.getElementsByTagName("a");
+    for (var i=0; i<links.length; i++) MergePageArgsIntoLink(links[i]);
+    var label = GetPageArg("ctxtname",false);
+    if (!label) return;
+    var indicator = document.getElementById("contextindicator");
+    if (!indicator) return;
+    indicator.innerHTML = label;
+    indicator.style.display = "block";
+  });
diff --git a/DrRacket/advanced_files/scribble.css b/DrRacket/advanced_files/scribble.css
new file mode 100644 (file)
index 0000000..8f1e2b4
--- /dev/null
@@ -0,0 +1,429 @@
+
+/* CSS seems backward: List all the classes for which we want a
+   particular font, so that the font can be changed in one place.  (It
+   would be nicer to reference a font definition from all the places
+   that we want it.)
+
+   As you read the rest of the file, remember to double-check here to
+   see if any font is set. */
+
+/* Monospace: */
+.maincolumn, .refpara, .tocset, .stt, .hspace {
+  font-family: monospace;
+}
+
+/* Serif: */
+.main, .refcontent, .tocview, .tocsub, i {
+  font-family: serif;
+}
+
+/* Sans-serif: */
+.version, .versionNoNav {
+  font-family: sans-serif;
+}
+
+/* ---------------------------------------- */
+
+p, .SIntrapara {
+  display: block;
+  margin: 1em 0;
+}
+
+h2 { /* per-page main title */
+  margin-top: 0;
+}
+
+h3, h4, h5, h6, h7, h8 {
+  margin-top: 1.75em;
+  margin-bottom: 0.5em;
+}
+
+/* Needed for browsers like Opera, and eventually for HTML 4 conformance.
+   This means that multiple paragraphs in a table element do not have a space
+   between them. */
+table p {
+  margin-top: 0;
+  margin-bottom: 0;
+}
+
+/* ---------------------------------------- */
+/* Main */
+
+body {
+  color: black;
+  background-color: #ffffff;
+}
+
+table td {
+  padding-left: 0;
+  padding-right: 0;
+}
+
+.maincolumn {
+  width: 43em;
+  margin-right: -40em;
+  margin-left: 15em;
+}
+
+.main {
+  text-align: left;
+}
+
+/* ---------------------------------------- */
+/* Navigation */
+
+.navsettop, .navsetbottom {
+  background-color: #f0f0e0;
+  padding: 0.25em 0 0.25em 0;
+}
+
+.navsettop {
+  margin-bottom: 1.5em;
+  border-bottom: 2px solid #e0e0c0;
+}
+
+.navsetbottom {
+  margin-top: 2em;
+  border-top: 2px solid #e0e0c0;
+}
+
+.navleft {
+  margin-left: 1ex;
+  position: relative;
+  float: left;
+  white-space: nowrap;
+}
+.navright {
+  margin-right: 1ex;
+  position: relative;
+  float: right;
+  white-space: nowrap;
+}
+.nonavigation {
+  color: #e0e0e0;
+}
+
+.searchform {
+  display: inline;
+  margin: 0;
+  padding: 0;
+}
+
+.searchbox {
+  width: 16em;
+  margin: 0px;
+  padding: 0px;
+  background-color: #eee;
+  border: 1px solid #ddd;
+  text-align: center;
+  vertical-align: middle;
+}
+
+#contextindicator {
+  position: fixed;
+  background-color: #c6f;
+  color: #000;
+  font-family: monospace;
+  font-weight: bold;
+  padding: 2px 10px;
+  display: none;
+  right: 0;
+  bottom: 0;
+}
+
+/* ---------------------------------------- */
+/* Version */
+
+.versionbox {
+  position: relative;
+  float: right;
+  left: 2em;
+  height: 0em;
+  width: 13em;
+  margin: 0em -13em 0em 0em;
+}
+.version {
+  font-size: small;
+}
+.versionNoNav {
+  font-size: xx-small; /* avoid overlap with author */
+}
+
+/* ---------------------------------------- */
+/* Margin notes */
+
+.refpara, .refelem {
+  position: relative;
+  float: right;
+  left: 2em;
+  height: 0em;
+  width: 13em;
+  margin: 0em -13em 0em 0em;
+}
+
+.refpara {
+  top: -1em;
+}
+
+.refcolumn {
+  background-color: #F5F5DC;
+  display: block;
+  position: relative;
+  width: 13em;
+  font-size: 85%;
+  border: 0.5em solid #F5F5DC;
+  margin: 0 0 0 0;
+}
+
+.refcontent {
+  margin: 0 0 0 0;
+}
+
+.refcontent p {
+  margin-top: 0;
+  margin-bottom: 0;
+}
+
+/* ---------------------------------------- */
+/* Table of contents, inline */
+
+.toclink {
+  text-decoration: none;
+  color: blue;
+  font-size: 85%;
+}
+
+.toptoclink {
+  text-decoration: none;
+  color: blue;
+  font-weight: bold;
+}
+
+/* ---------------------------------------- */
+/* Table of contents, left margin */
+
+.tocset {
+  position: relative;
+  float: left;
+  width: 12.5em;
+  margin-right: 2em;
+}
+.tocset td {
+  vertical-align: text-top;
+}
+
+.tocview {
+  text-align: left;
+  background-color: #f0f0e0;
+}
+
+.tocsub {
+  text-align: left;
+  margin-top: 0.5em;
+  background-color: #f0f0e0;
+}
+
+.tocviewlist, .tocsublist {
+  margin-left: 0.2em;
+  margin-right: 0.2em;
+  padding-top: 0.2em;
+  padding-bottom: 0.2em;
+}
+.tocviewlist table {
+  font-size: 82%;
+}
+
+.tocviewsublist, .tocviewsublistonly, .tocviewsublisttop, .tocviewsublistbottom {
+  margin-left: 0.4em;
+  border-left: 1px solid #bbf;
+  padding-left: 0.8em;
+}
+.tocviewsublist {
+  margin-bottom: 1em;
+}
+.tocviewsublist table,
+.tocviewsublistonly table,
+.tocviewsublisttop table,
+.tocviewsublistbottom table {
+  font-size: 75%;
+}
+
+.tocviewtitle * {
+  font-weight: bold;
+}
+
+.tocviewlink {
+  text-decoration: none;
+  color: blue;
+}
+
+.tocviewselflink {
+  text-decoration: underline;
+  color: blue;
+}
+
+.tocviewtoggle {
+  text-decoration: none;
+  color: blue;
+  font-size: 75%; /* looks better, and avoids bounce when toggling sub-sections due to font alignments */
+}
+
+.tocsublist td {
+  padding-left: 1em;
+  text-indent: -1em;
+}
+
+.tocsublinknumber {
+  font-size: 82%;
+}
+
+.tocsublink {
+  font-size: 82%;
+  text-decoration: none;
+}
+
+.tocsubseclink {
+  font-size: 82%;
+  text-decoration: none;
+}
+
+.tocsubnonseclink {
+  font-size: 82%;
+  text-decoration: none;
+  padding-left: 0.5em;
+}
+
+.tocsubtitle {
+  font-size: 82%;
+  font-style: italic;
+  margin: 0.2em;
+}
+
+.sepspace {
+  font-size: 40%;
+}
+
+.septitle {
+  font-size: 70%;
+}
+
+/* ---------------------------------------- */
+/* Some inline styles */
+
+.indexlink {
+  text-decoration: none;
+}
+
+.nobreak {
+  white-space: nowrap;
+}
+
+.stt {
+}
+
+.title {
+  font-size: 200%;
+  font-weight: normal;
+  margin-top: 2.8em;
+  text-align: center;
+}
+
+pre { margin-left: 2em; }
+blockquote { margin-left: 2em; }
+
+ol          { list-style-type: decimal; }
+ol ol       { list-style-type: lower-alpha; }
+ol ol ol    { list-style-type: lower-roman; }
+ol ol ol ol { list-style-type: upper-alpha; }
+
+i {
+}
+
+.SubFlow {
+  display: block;
+  margin: 0em;
+}
+
+.boxed {
+  width: 100%;
+  background-color: #E8E8FF;
+}
+
+.hspace {
+}
+
+.slant {
+  font-style: oblique;
+}
+
+.badlink {
+  text-decoration: underline;
+  color: red;
+}
+
+.plainlink {
+  text-decoration: none;
+  color: blue;
+}
+
+.techoutside       { text-decoration: underline; color: #b0b0b0; }
+.techoutside:hover { text-decoration: underline; color: blue; }
+
+/* .techinside:hover doesn't work with FF, .techinside:hover>
+   .techinside doesn't work with IE, so use both (and IE doesn't
+   work with inherit in the second one, so use blue directly) */
+.techinside                    { color: black; }
+.techinside:hover              { color: blue; }
+.techoutside:hover>.techinside { color: inherit; }
+
+.SCentered {
+  text-align: center;
+}
+
+.imageleft {
+  float: left;
+  margin-right: 0.3em;
+}
+
+.Smaller{
+  font-size: 82%;
+}
+
+.Larger{
+  font-size: 122%;
+}
+
+/* A hack, inserted to break some Scheme ids: */
+.mywbr {
+  width: 0;
+  font-size: 1px;
+}
+
+.compact li p {
+  margin: 0em;
+  padding: 0em;
+}
+
+.noborder img {
+  border: 0;
+}
+
+.SAuthorListBox {
+  position: relative;
+  float: right;
+  left: 2em;
+  top: -2.5em;
+  height: 0em;
+  width: 13em;
+  margin: 0em -13em 0em 0em;
+}
+.SAuthorList {
+  font-size: 82%;
+}
+.SAuthorList:before {
+  content: "by ";
+}
+.author {
+  display: inline;
+  white-space: nowrap;
+}