Oops! Thank you for the correction.<br><br>Andres.<br><br><div class="gmail_quote">On Thu, Mar 20, 2008 at 3:54 AM, Dennis Smith <<a href="mailto:dennis@cherniaksoftware.com">dennis@cherniaksoftware.com</a>> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div bgcolor="#ffffff" text="#000000"><div><div></div><div class="Wj3C7c">
<br>
<br>
Andres Valloud wrote:
<blockquote type="cite">Hello,<br>
<br>
Paolo's list had the following messages for Collection (note the list
is subsequently trimmed below).<br>
<br>
Collection class>>join:<br>
Collection>>anyOne<br>
Collection>>copyReplacing:withObject:<br>
<div>Collection>>copyWith:<br>
Collection>>copyWithout:<br>
Collection>>count:<br>
Collection>>empty<br>
Collection>>fold:<br>
Collection>>gather:<br>
Collection>>identityIncludes:<br>
Collection>>isEmpty<br>
Collection>>isSequenceable<br>
Collection>>noneSatisfy:<br>
Collection>>notEmpty<br>
Collection>>occurrencesOf:<br>
Collection>>removeAll:<br>
Collection>>removeAll:ifAbsent:<br>
Collection>>removeAllSuchThat:<br>
Collection>>size</div>
<br>
<br>
>From the above, I think the following are good candidates:<br>
<br>
Collection>>copyReplacing:withObject: (perhaps renamed to
copyReplacing:with:)<br>
<div>
Collection>>copyWith:<br>
Collection>>copyWithout:<br>
Collection>>count:<br>
Collection>>fold: (I know Squeak does not have this)<br>
Collection>>noneSatisfy: (renamed to noneSatisfies:?)<br>
</div>
</blockquote></div></div>
>From a strictly english standpoint, "none satifsy" is correct. You
only use "satisifies" with "one",<br>
so it should stay as-is.<br>
<blockquote type="cite"><div class="Ih2E3d">
<div>Collection>>removeAllSuchThat:
(I'd prefer to use the selectors eject:/keep:)<br>
</div>
<br>
<br>
I also have questions about these:<br>
<br>
Collection>>empty (isn't this removeAll?)<br>
Collection>>gather: (what's this?)<br>
Collection>>removeAll: (what is the argument?)<br>
Collection>>removeAll:ifAbsent:<br>
<br>
<br>
I do not have much of an opinion on these:<br>
<br>
Collection>>anyOne (perhaps renamed to #any)<br>
Collection>>identityIncludes:<br>
<br>
<br>
Thoughts?<br>
<br>
Andres.<br>
</div><pre><hr size="4" width="90%"><div class="Ih2E3d">
_______________________________________________
ANSI-Smalltalk mailing list
<a href="mailto:ANSI-Smalltalk@lists.openskills.org" target="_blank">ANSI-Smalltalk@lists.openskills.org</a>
<a href="http://lists.openskills.org/cgi-bin/mailman/listinfo/ansi-smalltalk" target="_blank">http://lists.openskills.org/cgi-bin/mailman/listinfo/ansi-smalltalk</a>
</div></pre>
</blockquote>
<br>
<pre cols="72">--
Dennis Smith                  +1 416.798.7948
Cherniak Software Development Corporation Fax: +1 416.798.0948
509-2001 Sheppard Avenue East <a href="mailto:dennis@CherniakSoftware.com" target="_blank">dennis@CherniakSoftware.com</a>
Toronto, ON M2J 4Z8 <a href="mailto:sip:dennis@CherniakSoftware.com" target="_blank">sip:dennis@CherniakSoftware.com</a>
Canada                         <a href="http://www.CherniakSoftware.com" target="_blank">http://www.CherniakSoftware.com</a>
Entrance off Yorkland Blvd south of Sheppard Ave east of the DVP</pre>
</div>
<br>_______________________________________________<br>
ANSI-Smalltalk mailing list<br>
<a href="mailto:ANSI-Smalltalk@lists.openskills.org">ANSI-Smalltalk@lists.openskills.org</a><br>
<a href="http://lists.openskills.org/cgi-bin/mailman/listinfo/ansi-smalltalk" target="_blank">http://lists.openskills.org/cgi-bin/mailman/listinfo/ansi-smalltalk</a><br>
<br></blockquote></div><br>