/usr/share/doc/racket/teachpack/2htdp2htdp.html is in racket-doc 6.7-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"/><title>2 HtDP/2e Teachpacks</title><link rel="stylesheet" type="text/css" href="../scribble.css" title="default"/><link rel="stylesheet" type="text/css" href="../manual-style.css" title="default"/><link rel="stylesheet" type="text/css" href="../manual-racket.css" title="default"/><link rel="stylesheet" type="text/css" href="../doc-site.css" title="default"/><script type="text/javascript" src="../scribble-common.js"></script><script type="text/javascript" src="../manual-racket.js"></script><script type="text/javascript" src="../doc-site.js"></script><script type="text/javascript" src="../local-redirect/local-redirect.js"></script><script type="text/javascript" src="../local-redirect/local-user-redirect.js"></script><!--[if IE 6]><style type="text/css">.SIEHidden { overflow: hidden; }</style><![endif]--></head><body id="doc-racket-lang-org"><div class="tocset"><div class="tocview"><div class="tocviewlist tocviewlisttopspace"><div class="tocviewtitle"><table cellspacing="0" cellpadding="0"><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="index.html" class="tocviewlink" data-pltdoc="x"><span style="font-style: italic">How to Design Programs</span> Teachpacks</a></td></tr></table></div><div class="tocviewsublisttop" style="display: none;" id="tocview_0"><table cellspacing="0" cellpadding="0"><tr><td align="right">1 </td><td><a href="htdp.html" class="tocviewlink" data-pltdoc="x">Ht<span class="mywbr"> </span>DP Teachpacks</a></td></tr><tr><td align="right">2 </td><td><a href="" class="tocviewselflink" data-pltdoc="x">Ht<span class="mywbr"> </span>DP/<span class="mywbr"> </span>2e Teachpacks</a></td></tr></table></div></div><div class="tocviewlist"><table cellspacing="0" cellpadding="0"><tr><td style="width: 1em;"><a href="javascript:void(0);" title="Expand/Collapse" class="tocviewtoggle" onclick="TocviewToggle(this,"tocview_1");">▼</a></td><td>2 </td><td><a href="" class="tocviewselflink" data-pltdoc="x">Ht<span class="mywbr"> </span>DP/<span class="mywbr"> </span>2e Teachpacks</a></td></tr></table><div class="tocviewsublistbottom" style="display: block;" id="tocview_1"><table cellspacing="0" cellpadding="0"><tr><td align="right">2.1 </td><td><a href="2htdpbatch-io.html" class="tocviewlink" data-pltdoc="x">Batch Input/<span class="mywbr"> </span>Output:<span class="mywbr"> </span> <span class="stt">"batch-<wbr></wbr>io.rkt"</span><a name="(idx._(gentag._20._(lib._teachpack/teachpack..scrbl)._2htdp))"></a></a></td></tr><tr><td align="right">2.2 </td><td><a href="2htdpimage-guide.html" class="tocviewlink" data-pltdoc="x">Image Guide</a></td></tr><tr><td align="right">2.3 </td><td><a href="2htdpimage.html" class="tocviewlink" data-pltdoc="x">Images:<span class="mywbr"> </span> <span class="stt">"image.rkt"</span><a name="(idx._(gentag._21._(lib._teachpack/teachpack..scrbl)._2htdp))"></a></a></td></tr><tr><td align="right">2.4 </td><td><a href="2htdpuniverse.html" class="tocviewlink" data-pltdoc="x">Worlds and the Universe:<span class="mywbr"> </span> <span class="stt">"universe.rkt"</span><a name="(idx._(gentag._22._(lib._teachpack/teachpack..scrbl)._2htdp))"></a></a></td></tr><tr><td align="right">2.5 </td><td><a href="2htdpitunes.html" class="tocviewlink" data-pltdoc="x">i<span class="mywbr"> </span>Tunes:<span class="mywbr"> </span> <span class="stt">"itunes.rkt"</span><a name="(idx._(gentag._23._(lib._teachpack/teachpack..scrbl)._2htdp))"></a></a></td></tr><tr><td align="right">2.6 </td><td><a href="2htdpabstraction.html" class="tocviewlink" data-pltdoc="x">Abstraction:<span class="mywbr"> </span> <span class="stt">"abstraction.rkt"</span><a name="(idx._(gentag._24._(lib._teachpack/teachpack..scrbl)._2htdp))"></a></a></td></tr><tr><td align="right">2.7 </td><td><a href="2htdpPlanet_Cute_Images.html" class="tocviewlink" data-pltdoc="x">Planet Cute Images</a></td></tr><tr><td align="right">2.8 </td><td><a href="2htdphtdp-port.html" class="tocviewlink" data-pltdoc="x">Porting World Programs to Universe</a></td></tr></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: #888;" type="text" value="...search manuals..." title="Enter a search string to search the manuals" onkeypress="return DoSearchKey(event, this, "6.7", "../");" 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..."; }"/></form> <a href="../index.html" title="up to the documentation top" data-pltdoc="x" onclick="return GotoPLTRoot("6.7");">top</a></span><span class="navright"> <a href="matrix.html" title="backward to "1.20 Matrix Functions: "matrix.rkt""" data-pltdoc="x">← prev</a> <a href="index.html" title="up to "How to Design Programs Teachpacks"" data-pltdoc="x">up</a> <a href="2htdpbatch-io.html" title="forward to "2.1 Batch Input/Output: "batch-io.rkt""" data-pltdoc="x">next →</a></span> </div><h3 x-source-module="(lib "teachpack/teachpack.scrbl")" x-source-pkg="htdp-doc" x-part-tag=""2htdp"">2<tt> </tt><a name="(part._2htdp)"></a>HtDP/2e Teachpacks</h3><table cellspacing="0" cellpadding="0"><tr><td><p><span class="hspace"> </span><a href="2htdpbatch-io.html" class="toclink" data-pltdoc="x">2.1<span class="hspace"> </span>Batch Input/Output: <span class="stt">"batch-io.rkt"</span><a name="(idx._(gentag._20._(lib._teachpack/teachpack..scrbl)._2htdp))"></a></a></p></td></tr><tr><td><p><span class="hspace"> </span><a href="2htdpbatch-io.html#%28part._.I.O_.Functions%29" class="toclink" data-pltdoc="x">2.1.1<span class="hspace"> </span>IO Functions</a></p></td></tr><tr><td><p><span class="hspace"> </span><a href="2htdpbatch-io.html#%28part._.Web_.Functions%29" class="toclink" data-pltdoc="x">2.1.2<span class="hspace"> </span>Web Functions</a></p></td></tr><tr><td><p><span class="hspace"> </span><a href="2htdpbatch-io.html#%28part._.Testing%29" class="toclink" data-pltdoc="x">2.1.3<span class="hspace"> </span>Testing</a></p></td></tr><tr><td><p><span class="hspace"> </span><a href="2htdpimage-guide.html" class="toclink" data-pltdoc="x">2.2<span class="hspace"> </span>Image Guide</a></p></td></tr><tr><td><p><span class="hspace"> </span><a href="2htdpimage-guide.html#%28part._.Overlaying__.Above__and_.Beside__.A_.House%29" class="toclink" data-pltdoc="x">2.2.1<span class="hspace"> </span>Overlaying, Above, and Beside: A House</a></p></td></tr><tr><td><p><span class="hspace"> </span><a href="2htdpimage-guide.html#%28part._.Rotating_and_.Overlaying__.A_.Rotary_.Phone_.Dial%29" class="toclink" data-pltdoc="x">2.2.2<span class="hspace"> </span>Rotating and Overlaying: A Rotary Phone Dial</a></p></td></tr><tr><td><p><span class="hspace"> </span><a href="2htdpimage-guide.html#%28part._.Alpha_.Blending%29" class="toclink" data-pltdoc="x">2.2.3<span class="hspace"> </span>Alpha Blending</a></p></td></tr><tr><td><p><span class="hspace"> </span><a href="2htdpimage-guide.html#%28part._.Recursive_.Image_.Functions%29" class="toclink" data-pltdoc="x">2.2.4<span class="hspace"> </span>Recursive Image Functions</a></p></td></tr><tr><td><p><span class="hspace"> </span><a href="2htdpimage-guide.html#%28part._rotate-center%29" class="toclink" data-pltdoc="x">2.2.5<span class="hspace"> </span>Rotating and Image Centers</a></p></td></tr><tr><td><p><span class="hspace"> </span><a href="2htdpimage-guide.html#%28part._.Image_.Interoperability%29" class="toclink" data-pltdoc="x">2.2.6<span class="hspace"> </span>Image Interoperability</a></p></td></tr><tr><td><p><span class="hspace"> </span><a href="2htdpimage-guide.html#%28part._nitty-gritty%29" class="toclink" data-pltdoc="x">2.2.7<span class="hspace"> </span>The Nitty Gritty of Pixels, Pens, and Lines</a></p></td></tr><tr><td><p><span class="hspace"> </span><a href="2htdpimage-guide.html#%28part._nitty-gritty-alpha%29" class="toclink" data-pltdoc="x">2.2.8<span class="hspace"> </span>The Nitty Gritty of Alpha Blending</a></p></td></tr><tr><td><p><span class="hspace"> </span><a href="2htdpimage.html" class="toclink" data-pltdoc="x">2.3<span class="hspace"> </span>Images: <span class="stt">"image.rkt"</span><a name="(idx._(gentag._21._(lib._teachpack/teachpack..scrbl)._2htdp))"></a></a></p></td></tr><tr><td><p><span class="hspace"> </span><a href="2htdpimage.html#%28part._.Basic_.Images%29" class="toclink" data-pltdoc="x">2.3.1<span class="hspace"> </span>Basic Images</a></p></td></tr><tr><td><p><span class="hspace"> </span><a href="2htdpimage.html#%28part._.Polygons%29" class="toclink" data-pltdoc="x">2.3.2<span class="hspace"> </span>Polygons</a></p></td></tr><tr><td><p><span class="hspace"> </span><a href="2htdpimage.html#%28part._.Overlaying_.Images%29" class="toclink" data-pltdoc="x">2.3.3<span class="hspace"> </span>Overlaying Images</a></p></td></tr><tr><td><p><span class="hspace"> </span><a href="2htdpimage.html#%28part._.Placing_.Images___.Scenes%29" class="toclink" data-pltdoc="x">2.3.4<span class="hspace"> </span>Placing Images & Scenes</a></p></td></tr><tr><td><p><span class="hspace"> </span><a href="2htdpimage.html#%28part._.Rotating__.Scaling__.Flipping__.Cropping__and_.Framing_.Images%29" class="toclink" data-pltdoc="x">2.3.5<span class="hspace"> </span>Rotating, Scaling, Flipping, Cropping, and Framing Images</a></p></td></tr><tr><td><p><span class="hspace"> </span><a href="2htdpimage.html#%28part._.Bitmaps%29" class="toclink" data-pltdoc="x">2.3.6<span class="hspace"> </span>Bitmaps</a></p></td></tr><tr><td><p><span class="hspace"> </span><a href="2htdpimage.html#%28part._.Image_.Properties%29" class="toclink" data-pltdoc="x">2.3.7<span class="hspace"> </span>Image Properties</a></p></td></tr><tr><td><p><span class="hspace"> </span><a href="2htdpimage.html#%28part._.Image_.Predicates%29" class="toclink" data-pltdoc="x">2.3.8<span class="hspace"> </span>Image Predicates</a></p></td></tr><tr><td><p><span class="hspace"> </span><a href="2htdpimage.html#%28part._.Equality_.Testing_of_.Images%29" class="toclink" data-pltdoc="x">2.3.9<span class="hspace"> </span>Equality Testing of Images</a></p></td></tr><tr><td><p><span class="hspace"> </span><a href="2htdpimage.html#%28part._pinholes%29" class="toclink" data-pltdoc="x">2.3.10<span class="hspace"> </span>Pinholes</a></p></td></tr><tr><td><p><span class="hspace"> </span><a href="2htdpimage.html#%28part._.Exporting_.Images_to_.Disk%29" class="toclink" data-pltdoc="x">2.3.11<span class="hspace"> </span>Exporting Images to Disk</a></p></td></tr><tr><td><p><span class="hspace"> </span><a href="2htdpuniverse.html" class="toclink" data-pltdoc="x">2.4<span class="hspace"> </span>Worlds and the Universe: <span class="stt">"universe.rkt"</span><a name="(idx._(gentag._22._(lib._teachpack/teachpack..scrbl)._2htdp))"></a></a></p></td></tr><tr><td><p><span class="hspace"> </span><a href="2htdpuniverse.html#%28part._scene%29" class="toclink" data-pltdoc="x">2.4.1<span class="hspace"> </span>Background</a></p></td></tr><tr><td><p><span class="hspace"> </span><a href="2htdpuniverse.html#%28part._simulations%29" class="toclink" data-pltdoc="x">2.4.2<span class="hspace"> </span>Simple Simulations</a></p></td></tr><tr><td><p><span class="hspace"> </span><a href="2htdpuniverse.html#%28part._world._interactive%29" class="toclink" data-pltdoc="x">2.4.3<span class="hspace"> </span>Interactions</a></p></td></tr><tr><td><p><span class="hspace"> </span><a href="2htdpuniverse.html#%28part._world-example%29" class="toclink" data-pltdoc="x">2.4.4<span class="hspace"> </span>A First Sample World</a></p></td></tr><tr><td><p><span class="hspace"> </span><a href="2htdpuniverse.html#%28part._.Understanding_a_.Door%29" class="toclink" data-pltdoc="x">2.4.4.1<span class="hspace"> </span>Understanding a Door</a></p></td></tr><tr><td><p><span class="hspace"> </span><a href="2htdpuniverse.html#%28part._.Hints_on_.Designing_.Worlds%29" class="toclink" data-pltdoc="x">2.4.4.2<span class="hspace"> </span>Hints on Designing Worlds</a></p></td></tr><tr><td><p><span class="hspace"> </span><a href="2htdpuniverse.html#%28part._universe._world2%29" class="toclink" data-pltdoc="x">2.4.5<span class="hspace"> </span>The World is not Enough</a></p></td></tr><tr><td><p><span class="hspace"> </span><a href="2htdpuniverse.html#%28part._universe._.Messages%29" class="toclink" data-pltdoc="x">2.4.5.1<span class="hspace"> </span>Messages</a></p></td></tr><tr><td><p><span class="hspace"> </span><a href="2htdpuniverse.html#%28part._universe._.Sending_.Messages%29" class="toclink" data-pltdoc="x">2.4.5.2<span class="hspace"> </span>Sending Messages</a></p></td></tr><tr><td><p><span class="hspace"> </span><a href="2htdpuniverse.html#%28part._universe._.Connecting_with_the_.Universe%29" class="toclink" data-pltdoc="x">2.4.5.3<span class="hspace"> </span>Connecting with the Universe</a></p></td></tr><tr><td><p><span class="hspace"> </span><a href="2htdpuniverse.html#%28part._universe._.Receiving_.Messages%29" class="toclink" data-pltdoc="x">2.4.5.4<span class="hspace"> </span>Receiving Messages</a></p></td></tr><tr><td><p><span class="hspace"> </span><a href="2htdpuniverse.html#%28part._universe-server%29" class="toclink" data-pltdoc="x">2.4.6<span class="hspace"> </span>The Universe Server</a></p></td></tr><tr><td><p><span class="hspace"> </span><a href="2htdpuniverse.html#%28part._.Worlds_and_.Messages%29" class="toclink" data-pltdoc="x">2.4.6.1<span class="hspace"> </span>Worlds and Messages</a></p></td></tr><tr><td><p><span class="hspace"> </span><a href="2htdpuniverse.html#%28part._.Universe_.Descriptions%29" class="toclink" data-pltdoc="x">2.4.6.2<span class="hspace"> </span>Universe Descriptions</a></p></td></tr><tr><td><p><span class="hspace"> </span><a href="2htdpuniverse.html#%28part._.Exploring_a_.Universe%29" class="toclink" data-pltdoc="x">2.4.6.3<span class="hspace"> </span>Exploring a Universe</a></p></td></tr><tr><td><p><span class="hspace"> </span><a href="2htdpuniverse.html#%28part._universe-sample%29" class="toclink" data-pltdoc="x">2.4.7<span class="hspace"> </span>A First Sample Universe</a></p></td></tr><tr><td><p><span class="hspace"> </span><a href="2htdpuniverse.html#%28part._.Two_.Ball_.Tossing_.Worlds%29" class="toclink" data-pltdoc="x">2.4.7.1<span class="hspace"> </span>Two Ball Tossing Worlds</a></p></td></tr><tr><td><p><span class="hspace"> </span><a href="2htdpuniverse.html#%28part._.Hints_on_.Designing_.Universes%29" class="toclink" data-pltdoc="x">2.4.7.2<span class="hspace"> </span>Hints on Designing Universes</a></p></td></tr><tr><td><p><span class="hspace"> </span><a href="2htdpuniverse.html#%28part._.Designing_the_.Ball_.Universe%29" class="toclink" data-pltdoc="x">2.4.7.3<span class="hspace"> </span>Designing the Ball Universe</a></p></td></tr><tr><td><p><span class="hspace"> </span><a href="2htdpuniverse.html#%28part._.Designing_the_.Ball_.Server%29" class="toclink" data-pltdoc="x">2.4.7.4<span class="hspace"> </span>Designing the Ball Server</a></p></td></tr><tr><td><p><span class="hspace"> </span><a href="2htdpuniverse.html#%28part._.Designing_the_.Ball_.World%29" class="toclink" data-pltdoc="x">2.4.7.5<span class="hspace"> </span>Designing the Ball World</a></p></td></tr><tr><td><p><span class="hspace"> </span><a href="2htdpitunes.html" class="toclink" data-pltdoc="x">2.5<span class="hspace"> </span>iTunes: <span class="stt">"itunes.rkt"</span><a name="(idx._(gentag._23._(lib._teachpack/teachpack..scrbl)._2htdp))"></a></a></p></td></tr><tr><td><p><span class="hspace"> </span><a href="2htdpitunes.html#%28part._itunes-data._.Data_.Definitions%29" class="toclink" data-pltdoc="x">2.5.1<span class="hspace"> </span>Data Definitions</a></p></td></tr><tr><td><p><span class="hspace"> </span><a href="2htdpitunes.html#%28part._itunes-api._.Exported_.Funcions%29" class="toclink" data-pltdoc="x">2.5.2<span class="hspace"> </span>Exported Funcions</a></p></td></tr><tr><td><p><span class="hspace"> </span><a href="2htdpabstraction.html" class="toclink" data-pltdoc="x">2.6<span class="hspace"> </span>Abstraction: <span class="stt">"abstraction.rkt"</span><a name="(idx._(gentag._24._(lib._teachpack/teachpack..scrbl)._2htdp))"></a></a></p></td></tr><tr><td><p><span class="hspace"> </span><a href="2htdpabstraction.html#%28part._x._abstraction%29" class="toclink" data-pltdoc="x">2.6.1<span class="hspace"> </span>Loops and Comprehensions</a></p></td></tr><tr><td><p><span class="hspace"> </span><a href="2htdpabstraction.html#%28part._x._matching%29" class="toclink" data-pltdoc="x">2.6.2<span class="hspace"> </span>Pattern Matching</a></p></td></tr><tr><td><p><span class="hspace"> </span><a href="2htdpabstraction.html#%28part._x._adt%29" class="toclink" data-pltdoc="x">2.6.3<span class="hspace"> </span>Algebraic Data Types</a></p></td></tr><tr><td><p><span class="hspace"> </span><a href="2htdpPlanet_Cute_Images.html" class="toclink" data-pltdoc="x">2.7<span class="hspace"> </span>Planet Cute Images</a></p></td></tr><tr><td><p><span class="hspace"> </span><a href="2htdpPlanet_Cute_Images.html#%28part._pc~3a.Characters%29" class="toclink" data-pltdoc="x">2.7.1<span class="hspace"> </span>Characters</a></p></td></tr><tr><td><p><span class="hspace"> </span><a href="2htdpPlanet_Cute_Images.html#%28part._pc~3a.Blocks%29" class="toclink" data-pltdoc="x">2.7.2<span class="hspace"> </span>Blocks</a></p></td></tr><tr><td><p><span class="hspace"> </span><a href="2htdpPlanet_Cute_Images.html#%28part._pc~3a.Items%29" class="toclink" data-pltdoc="x">2.7.3<span class="hspace"> </span>Items</a></p></td></tr><tr><td><p><span class="hspace"> </span><a href="2htdpPlanet_Cute_Images.html#%28part._pc~3a.Ramps%29" class="toclink" data-pltdoc="x">2.7.4<span class="hspace"> </span>Ramps</a></p></td></tr><tr><td><p><span class="hspace"> </span><a href="2htdpPlanet_Cute_Images.html#%28part._pc~3a.Buildings%29" class="toclink" data-pltdoc="x">2.7.5<span class="hspace"> </span>Buildings</a></p></td></tr><tr><td><p><span class="hspace"> </span><a href="2htdpPlanet_Cute_Images.html#%28part._pc~3a.Shadows%29" class="toclink" data-pltdoc="x">2.7.6<span class="hspace"> </span>Shadows</a></p></td></tr><tr><td><p><span class="hspace"> </span><a href="2htdphtdp-port.html" class="toclink" data-pltdoc="x">2.8<span class="hspace"> </span>Porting World Programs to Universe</a></p></td></tr><tr><td><p><span class="hspace"> </span><a href="2htdphtdp-port.html#%28part._.The_.World_is_.Not_.Enough%29" class="toclink" data-pltdoc="x">2.8.1<span class="hspace"> </span>The World is Not Enough</a></p></td></tr><tr><td><p><span class="hspace"> </span><a href="2htdphtdp-port.html#%28part._.Porting_.World_.Programs%29" class="toclink" data-pltdoc="x">2.8.2<span class="hspace"> </span>Porting World Programs</a></p></td></tr><tr><td><p><span class="hspace"> </span><a href="2htdphtdp-port.html#%28part._.Porting_.Image_.Programs%29" class="toclink" data-pltdoc="x">2.8.3<span class="hspace"> </span>Porting Image Programs</a></p></td></tr></table><div class="navsetbottom"><span class="navleft"><form class="searchform"><input class="searchbox" style="color: #888;" type="text" value="...search manuals..." title="Enter a search string to search the manuals" onkeypress="return DoSearchKey(event, this, "6.7", "../");" 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..."; }"/></form> <a href="../index.html" title="up to the documentation top" data-pltdoc="x" onclick="return GotoPLTRoot("6.7");">top</a></span><span class="navright"> <a href="matrix.html" title="backward to "1.20 Matrix Functions: "matrix.rkt""" data-pltdoc="x">← prev</a> <a href="index.html" title="up to "How to Design Programs Teachpacks"" data-pltdoc="x">up</a> <a href="2htdpbatch-io.html" title="forward to "2.1 Batch Input/Output: "batch-io.rkt""" data-pltdoc="x">next →</a></span> </div></div></div><div id="contextindicator"> </div></body></html>
|