<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Generator" content="Microsoft Exchange Server">
<!-- converted from text --><style><!-- .EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left: #800000 2px solid; } --></style>
</head>
<body>
<meta content="text/html; charset=UTF-8">
<style type="text/css" style="">
<!--
p
        {margin-top:0;
        margin-bottom:0}
-->
</style>
<div dir="ltr">
<div id="x_divtagdefaultwrapper" dir="ltr" style="font-size:12pt; color:#000000; font-family:Calibri,Helvetica,sans-serif">
<p>Nice finding! Probably we should override all #difference: #intersection: #symmetricDifference: #union: in Bag to have multiset semantics.</p>
<p><br>
</p>
<p>Best,</p>
<p>Christoph</p>
</div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="x_divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>Von:</b> Squeak-dev <squeak-dev-bounces@lists.squeakfoundation.org> im Auftrag von Stéphane Rollandin <lecteur@zogotounga.net><br>
<b>Gesendet:</b> Donnerstag, 5. Januar 2023 17:18:58<br>
<b>An:</b> liste [Squeak-dev]<br>
<b>Betreff:</b> [squeak-dev] Intersection of Bags</font>
<div> </div>
</div>
</div>
<font size="2"><span style="font-size:10pt;">
<div class="PlainText">Hello all,<br>
<br>
We have<br>
<br>
        (Bag with: 1 with: 1 with: 1) intersection: (Bag with: 1)<br>
        --><br>
        (Bag with: 1 with: 1 with: 1)<br>
<br>
and:<br>
<br>
        (Bag with: 1) intersection: (Bag with: 1 with: 1 with: 1)<br>
        --><br>
        (Bag with: 1)<br>
<br>
Is that a bug or a feature?<br>
<br>
I would expect (Bag with: 1) in both cases.<br>
<br>
<br>
Stef<br>
<br>
<br>
</div>
</span></font>
</body>
</html>