[Gd-chatter] r11584 - trunk/www/books/drm

cpage at gwydiondylan.org cpage at gwydiondylan.org
Thu Dec 27 00:39:32 CET 2007


Author: cpage
Date: Thu Dec 27 00:39:30 2007
New Revision: 11584

Modified:
   trunk/www/books/drm/Collection_Operations.html
   trunk/www/books/drm/Errata.html
Log:
Job: website

Added and fixed two DRM errata in the documentation of replace-subsequence!().



Modified: trunk/www/books/drm/Collection_Operations.html
==============================================================================
--- trunk/www/books/drm/Collection_Operations.html	(original)
+++ trunk/www/books/drm/Collection_Operations.html	Thu Dec 27 00:39:30 2007
@@ -2673,19 +2673,24 @@
 	  <pre class="code">
 define variable *original* = list ("a", "b", "c", "d", "e")
 
-*new* := replace-subsequence! (*original*, #("x", "y", "z"), end: 1))
-    #("x", "y", "z", "b", "c", "d", "e")
+*new* := replace-subsequence! (*original*, #("x", "y", "z"), end: 1)
+<code> &rArr;</code>  #("x", "y", "z", "b", "c", "d", "e")
 
-*new* := replace-subsequence! (*new*, #("x", "y", "z"), start: 4))
-    #("x", "y", "z", "b", "x", "y", "z")
+*new* := replace-subsequence! (*new*, #("x", "y", "z"), start: 4)
+<code> &rArr;</code>  #("x", "y", "z", "b", "x", "y", "z")
 
 *new* := replace-subsequence! (*new*, #("a", "b", "c"), 
-                                      start: 2, end: 4))
-    #("x", "y", "a", "b", "c", "x", "y", "z")</pre>
+                                      start: 2, end: 4)
+<code> &rArr;</code>  #("x", "y", "a", "b", "c", "x", "y", "z")</pre>
 	  <p class="errata-note" id="errata-p325-1">
 	    <a class="note-tag" href="Errata#p325-1"><strong>Errata:</strong></a> In the published
 	    book, <var>target-sequence</var> is incorrectly written as <var>source-sequence</var>.
 	  </p>
+	  <p class="errata-note" id="errata-p326-1">
+	    <a class="note-tag" href="Errata#p326-1"><strong>Errata:</strong></a> In the published
+	    book, each of the example calls of <code>replace-subsequence!</code> ends with an extra
+	    right parenthesis.
+	  </p>
 	</dd>
       </dl>
       <a name="HEADING-102-500"></a>

Modified: trunk/www/books/drm/Errata.html
==============================================================================
--- trunk/www/books/drm/Errata.html	(original)
+++ trunk/www/books/drm/Errata.html	Thu Dec 27 00:39:30 2007
@@ -166,6 +166,9 @@
 	of <tt>replace-subsequence!</tt>, the parameter <i>target-sequence</i> is erroneously
 	refered to as <i>source-sequence</i> in the last paragraph.</li>
       
+      <li id="p326-1"><a href="Collection_Operations#errata-p326-1">p. 326</a>, in the example
+	calls of <tt>replace-subsequence!</tt>, each call ends with an extra right parenthesis.</li>
+      
       <li id="p329-1"><a href="Collection_Operations#errata-p329-1">p. 329</a>, in the example
 	for <tt>map-as</tt>, the return value should be <tt>#[101, 102, 203, 204]</tt> rather
 	than <tt>#(101, 102, 203, 204)</tt>.</li>
@@ -330,8 +333,8 @@
       <li>p. 288, the interactive example given for <tt>values</tt> contains a semicolon at the end
 	of the input. This is unusual. See <tt>as</tt> on the following page for a comparison.</li>
       
-      <!-- FIX THIS IN THE CONTENT AND UNCOMMENT THIS li>p. 326, the interactive example given for <tt>replace-subsequence!</tt> is missing
-	double-arrows (&rArr;) at the start of the result lines.</li -->
+      <li>p. 326, the examples calls of <tt>replace-subsequence!</tt> are missing
+	double-arrows (&rArr;) at the start of the result lines.</li>
       
       <li>p. 344, the summary of <tt>all-superclasses</tt> reads
 	



More information about the chatter mailing list