<div dir="ltr"><div dir="ltr">On Fri, Jan 17, 2025 at 9:22 AM Ethan McCue <<a href="mailto:ethan@mccue.dev">ethan@mccue.dev</a>> wrote:</div><div class="gmail_quote gmail_quote_container"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Just so there are some strawman arguments against: <br></div></blockquote><div><br></div><div>To pile on...</div><div><br></div><div>If I go to a restaurant and order a
hamburger and they bring me a cheeseburger and also charge me extra for
it, I'm going to complain!<br></div><div><br></div><div>A Set and a SequencedSet are two different things. The latter comes with cheese but also has a higher cost.</div><div><div><div><div><div class="gmail_quote gmail_quote_container"><div><div><div><div><div class="gmail_quote gmail_quote_container"><div class="gmail_quote gmail_quote_container"><div><div><br></div><div>If I order a Set and get a SequencedSet, I am going to wonder why am I paying extra for preserving insertion order?<br></div><div><div><div class="gmail_quote gmail_quote_container"><div><div><div><div><div class="gmail_quote gmail_quote_container"><div class="gmail_quote gmail_quote_container"><div><div><br><div>If I order a Set and get a SortedSet, I am going to wonder why am I paying extra for keeping the elements sorted?</div><div><div><div class="gmail_quote gmail_quote_container"><div><div><div><div><div class="gmail_quote gmail_quote_container"><div class="gmail_quote gmail_quote_container"><div><div><br></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>If I order a
SortedSet and get a NavigableSet, I am going to wonder why am I paying extra
for navigation?</div><div><br></div></div></div></div></div></div><div>If
I had wanted a SequencedSet, I would have asked for one. So YES I am also
agreeing here that there should be a SequencedSet.of() method to handle this need.<br></div><br></div></div></div></div></div></div></div><div class="gmail_quote gmail_quote_container">-Archie</div><div class="gmail_quote gmail_quote_container"><br></div><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature">Archie L. Cobbs<br></div></div>