[hackers] [chatter] r11776 - trunk/www/books/dpg
Dustin Voss
d_j_v at mac.com
Mon Apr 28 02:52:53 CEST 2008
My copy of the book looks fine, so HTML only.
On Apr 27, 2008, at 4:55 PM, Chris Page wrote:
> Is this only an error in the HTML or is it an erratum for the printed
> book?
>
> On Apr 26, 2008, at 04:02 AM, hannes at mccarthy.opendylan.org wrote:
>
>> Author: hannes
>> Date: Sat Apr 26 13:02:57 2008
>> New Revision: 11776
>>
>> Modified:
>> trunk/www/books/dpg/db_253.html
>> Log:
>> Job: website
>> unindent the "end class"
>>
>>
>> Modified: trunk/www/books/dpg/db_253.html
>> =
>> =
>> =
>> =
>> =
>> =
>> =
>> =
>> =
>> =====================================================================
>> --- trunk/www/books/dpg/db_253.html (original)
>> +++ trunk/www/books/dpg/db_253.html Sat Apr 26 13:02:57 2008
>> @@ -32,7 +32,7 @@
>> // smaller than another comparison value</em>
>> constant slot comparison-function :: <function> = \<,
>> init-keyword: comparison-function:;
>> - end class <sorted-sequence>; </pre></td></tr></table>
>> +end class <sorted-sequence>; </pre></td></tr></table>
>> <p>Because is there is a well-defined ordering of the elements of
>> sorted sequences, we choose <code><sequence></code> to be the
>> superclass of <code><sorted-sequence></code>. We use the built-
>> in collection class called <code><stretchy-vector></code> to
>> store the elements of our sorted sequence, because we want to be
>> able to have the sorted sequence grow to any size in a convenient
>> way.</p>
>> <p>The slots <code>comparison-function</code> and <code>value-
>> function</code> are constant slots, because we intend to have
>> clients specify these functions only when they create the sorted
>> sequence. If we had decided to let clients change the value of these
>> slots, we would have made the slots virtual, so that we could
>> reorder the data vector after either function had changed. </p>
>> <p>Now that we have covered the structure and initialization of the
>> sorted sequence data structure, we can define basic collection
>> methods.</p>
>> _______________________________________________
>> chatter mailing list
>> chatter at lists.opendylan.org
>> https://www.opendylan.org/mailman/listinfo/chatter
>
> --
> Chris Page
>
>
>
> _______________________________________________
> hackers mailing list
> hackers at lists.opendylan.org
> https://www.opendylan.org/mailman/listinfo/hackers
More information about the hackers
mailing list