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

cpage at gwydiondylan.org cpage at gwydiondylan.org
Tue Feb 13 13:05:30 CET 2007


Author: cpage
Date: Tue Feb 13 13:05:26 2007
New Revision: 11177

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

Added an errata about missing commas in example code on page 69. I
have not yet added the matching note and fixed the error within the
corresponding DRM page, as I am currently editing that page.



Modified: trunk/www/books/drm/Collection_Operations.html
==============================================================================
--- trunk/www/books/drm/Collection_Operations.html	(original)
+++ trunk/www/books/drm/Collection_Operations.html	Tue Feb 13 13:05:26 2007
@@ -3763,10 +3763,15 @@
 	  <p>The method for <code>&lt;object-table&gt;</code> could be written as</p>
 	  <pre class="code">
 define method table-protocol (table :: &lt;object-table&gt;)
-      =&gt; test-function :: &lt;function&gt;, 
-         hash-function :: &lt;function&gt;;
+      =&gt; (test-function :: &lt;function&gt;, 
+          hash-function :: &lt;function&gt;)
   values(\==, object-hash);
 end method table-protocol; </pre>
+	  <p class="errata-note" id="errata-p341-1">
+	    <a class="note-tag" href="Errata#p341-1"><strong>Errata:</strong></a> In the published
+	    book, the <code>table-protocol</code> method signature is missing parentheses around the
+	    result values.</code>
+	  </p>
 	</dd>
       </dl>
       <a name="HEADING102-736"></a>

Modified: trunk/www/books/drm/Errata.html
==============================================================================
--- trunk/www/books/drm/Errata.html	(original)
+++ trunk/www/books/drm/Errata.html	Tue Feb 13 13:05:26 2007
@@ -170,6 +170,10 @@
 	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>
       
+      <li id="p341-1"><a href="Collection_Operations#errata-p341-1">p. 341</a>, in the example
+	method definition of <tt>table-protocol</tt>, the method signature has two return values, so
+	they should be in parentheses.</li>
+      
       <li id="p351-1"><a href="Function_Application#errata-p351-1">p. 351</a>, the second use
 	of <tt>apply</tt> reads
 	



More information about the chatter mailing list