<div dir="ltr">Sorry. &nbsp;I meant to suggest collect:from: as an alternative spelling of withAll:collect:. &nbsp;I find collect:from: more intention-revealing than withAll:collect:.<br><br><div class="gmail_quote">On Mon, Sep 22, 2008 at 8:40 PM, Richard A. O&#39;Keefe <span dir="ltr">&lt;<a href="mailto:ok@cs.otago.ac.nz">ok@cs.otago.ac.nz</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="Ih2E3d"><br>
On 23 Sep 2008, at 4:40 am, Eliot Miranda wrote:<br>
<br>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="Ih2E3d">
what about<br>
 &nbsp; &nbsp; Collection class collect: aBlock from: aCollection<br>
e.g.<br>
 &nbsp; &nbsp; Array collect: [:each | each codePoint] from: &#39;abc&#39;<br></div>
?<br>
<br>
</blockquote>
Because there isn&#39;t any #collect:from: in the Smalltalks<br>
I use. &nbsp;I&#39;ve already mentioned the operation I added,<br>
which is named consistently with the ANSI methods, namely<br>
 &nbsp; &nbsp; &nbsp; &nbsp;&lt;class&gt; withAll: collection collect: aBlock<br>
This also goes with<br>
 &nbsp; &nbsp; &nbsp; &nbsp;&lt;collection&gt; addAll: collection collect: aBlock<br>
<br>
#withAll:collect: is nice, and I&#39;d like to see it in the<br>
new standard, but it&#39;s long winded and it&#39;s limiting.<div><div></div><div class="Wj3C7c"><br>
<br>
<br>
<br>
_______________________________________________<br>
ANSI-Smalltalk mailing list<br>
<a href="mailto:ANSI-Smalltalk@lists.openskills.org" target="_blank">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>
</div></div></blockquote></div><br></div>