<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Apr 18, 2016 at 3:43 PM, Levente Uzonyi <span dir="ltr">&lt;<a href="mailto:leves@caesar.elte.hu" target="_blank">leves@caesar.elte.hu</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Eliot,<span class=""><br>
<br>
On Mon, 18 Apr 2016, Eliot Miranda wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi All,<br>
    this used to work:<br>
<br>
    (Set with: #module) = (IdentitySet with: #module)<br>
<br>
when did this change and why?<br>
</blockquote>
<br></span>
I changed it in Collections-ul.669 last November, because it didn&#39;t work well. Let&#39;s see a different example:<br>
<br>
| s i |<br>
s := Set with: &#39;module&#39; copy.<br>
i := IdentitySet with: &#39;module&#39; copy.<br>
{<br>
        s = i.<br>
        i = s<br>
}<br>
<br>
The old implementation would return #(false true), while the new one evaluates to #(false false).<br></blockquote><div><br></div><div>Right.  That&#39;s a pain, but fair enough.  This is clumsy: (aSet size = 1 and: [aSet anyOne = #module]).  This slightly less so:  aSet = (aSet species with: #module).</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Levente<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">_,,,^..^,,,_<br>
best, Eliot<br></blockquote></blockquote></div><div><br></div><div 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></div>