<div dir="ltr"><div dir="ltr"><div class="gmail_default" style="font-size:small">On Tue, Nov 22, 2022 at 7:13 PM <<a href="mailto:commits@source.squeak.org">commits@source.squeak.org</a>> wrote:<br></div></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">Eliot Miranda uploaded a new version of Collections to project The Trunk:<br>
<a href="http://source.squeak.org/trunk/Collections-eem.1023.mcz" rel="noreferrer" target="_blank">http://source.squeak.org/trunk/Collections-eem.1023.mcz</a><br>
<br>
==================== Summary ====================<br>
<br>
Name: Collections-eem.1023<br>
Author: eem<br>
Time: 22 November 2022, 7:12:52.434373 pm<br>
UUID: 9c7f84f0-35b9-476f-9d51-75cc12248c26<br>
Ancestors: Collections-eem.1022<br>
<br>
Reimplement subStrings: in SequenceableCollection (this is where it belongs; subStrings: on arbitrary sequeances is useful).  Allow the argument to be a singleton, if not a collection.  Reimplement to use an index and copyFrom:to: instead of consing up a string on each element.<br></blockquote><div><br></div><div class="gmail_default" style="font-size:small">Hence</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">(1 to: 100) subStrings: (10 to: 90 by: 10) {(1 to: 9) . (11 to: 19) . (21 to: 29) . (31 to: 39) . (41 to: 49) . (51 to: 59) . (61 to: 69) . (71 to: 79) . (81 to: 89) . (91 to: 100)}</div></div><div><br></div><div class="gmail_default" style="font-size:small">Smalltalk is beautiful.</div><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><span style="font-size:small;border-collapse:separate"><div>_,,,^..^,,,_<br></div><div>best, Eliot</div></span></div></div></div></div>