Oops!&nbsp; 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 &lt;<a href="mailto:dennis@cherniaksoftware.com">dennis@cherniaksoftware.com</a>&gt; 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&#39;s list had the following messages for Collection (note the list
is subsequently trimmed below).<br>
  <br>
Collection class&gt;&gt;join:<br>
Collection&gt;&gt;anyOne<br>
Collection&gt;&gt;copyReplacing:withObject:<br>
  <div>Collection&gt;&gt;copyWith:<br>
Collection&gt;&gt;copyWithout:<br>
Collection&gt;&gt;count:<br>
Collection&gt;&gt;empty<br>
Collection&gt;&gt;fold:<br>
Collection&gt;&gt;gather:<br>
Collection&gt;&gt;identityIncludes:<br>
Collection&gt;&gt;isEmpty<br>
Collection&gt;&gt;isSequenceable<br>
Collection&gt;&gt;noneSatisfy:<br>
Collection&gt;&gt;notEmpty<br>
Collection&gt;&gt;occurrencesOf:<br>
Collection&gt;&gt;removeAll:<br>
Collection&gt;&gt;removeAll:ifAbsent:<br>
Collection&gt;&gt;removeAllSuchThat:<br>
Collection&gt;&gt;size</div>
  <br>
  <br>
&gt;From the above, I think the following are good candidates:<br>
  <br>
Collection&gt;&gt;copyReplacing:withObject: (perhaps renamed to
copyReplacing:with:)<br>
  <div>
Collection&gt;&gt;copyWith:<br>
Collection&gt;&gt;copyWithout:<br>
Collection&gt;&gt;count:<br>
Collection&gt;&gt;fold: (I know Squeak does not have this)<br>
Collection&gt;&gt;noneSatisfy: (renamed to noneSatisfies:?)<br>
  </div>
</blockquote></div></div>
&gt;From a strictly english standpoint, &quot;none satifsy&quot; is correct.&nbsp; You
only use &quot;satisifies&quot; with &quot;one&quot;,<br>
so it should stay as-is.<br>
<blockquote type="cite"><div class="Ih2E3d">
  <div>Collection&gt;&gt;removeAllSuchThat:
(I&#39;d prefer to use the selectors eject:/keep:)<br>
  </div>
  <br>
  <br>
I also have questions about these:<br>
  <br>
Collection&gt;&gt;empty (isn&#39;t this removeAll?)<br>
Collection&gt;&gt;gather: (what&#39;s this?)<br>
Collection&gt;&gt;removeAll: (what is the argument?)<br>
Collection&gt;&gt;removeAll:ifAbsent:<br>
  <br>
  <br>
I do not have much of an opinion on these:<br>
  <br>
Collection&gt;&gt;anyOne (perhaps renamed to #any)<br>
Collection&gt;&gt;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>