Re: Sorted structures lose their ordering when mapped
Vlad Patryshev <[email protected]> Wed, 30 Nov 2016 09:00:26 -0800
| Newsgroups | gmane.comp.lang.scala |
|---|---|
| Message-ID | <CAFhNTo__z=hcBhFhCsbx4csE3C+hzJYmF8mPZa-ghm+MnemziA@mail.gmail.com> |
--94eb2c18f7ee7052e8054287a506 Content-Type: text/plain; charset=UTF-8 Even if it's the same type, how would one deal with 1::2::3::Nil map (_%2) ? Thanks, -Vlad On Wed, Nov 30, 2016 at 7:09 AM, Oliver Ruebenacker <[email protected]> wrote: > > Hello, > > I mean what if you have, for example > > def mapMySet[A, B](set: SortedSet[A], f: A => B): SortedSet[B] = > set.map(f) > > You can't prove that A and B are the same type, so the mapped set can't > just take the Ordering[A] from the original set, but you'd have to provide > a fresh Ordering[B]. But then some one might call mapMySet with A and B the > same. > > Best, Oliver > > On Tue, Nov 29, 2016 at 3:23 PM, Tobin Yehle <[email protected]> wrote: > >> I think the least surprising behavior would be to treat them as the same, >> but I'm not sure I follow you exactly. Won't a CanBuildFrom[Sorted[K, >> _], K, Sorted[K, _]] work if it is scope? >> >> On Tue, Nov 29, 2016 at 8:16 AM Oliver Ruebenacker <[email protected]> >> wrote: >> >>> >>> Hello, >>> >>> The original ordering can only be kept if the new collection has the >>> same type of elements. That means your suggestion would split mapping into >>> two cases - same type or not same type - with different behaviors for each >>> case. That would certainly complicate things. >>> >>> For example, what happens when we don't know whether the type is the >>> same due to type parameters? Would we treat them as different? >>> >>> Best, Oliver >>> >>> >>> >>> >>> >>> On Tue, Nov 29, 2016 at 1:23 AM, Tobin Yehle <[email protected]> >>> wrote: >>> >>> On the immutable side, I think the only concrete collections that >>> inherit from SortedSet are TreeSet and BitSet. I think the problem also >>> exists in TreeMap, and all the mutable versions of these three structures. >>> Mutable BitSets are probably the largest use case. >>> >>> Use cases for TreeSet and TreeMap are for situations where a HashSet/Map >>> would be good, but in-order traversals are also needed. They provide Log >>> insertions/deletions/lookups. >>> >>> My thought is that sorted collections should retain their ordering >>> whenever possible. >>> >>> scala> val set = SortedSet(1,2,3)(ord=Ordering.Int.reverse) >>> set: scala.collection.SortedSet[Int] = TreeSet(3, 2, 1) >>> >>> scala> set.map(identity) >>> res0: scala.collection.SortedSet[Int] = TreeSet(1, 2, 3) >>> should be TreeSet(3, 2, 1)? >>> >>> scala> set.map(_*2) >>> res1: scala.collection.SortedSet[Int] = TreeSet(2, 4, 6) should >>> be TreeSet(6, 4, 2)? >>> >>> and if possible >>> >>> scala> set.map(_*2)(collection.breakOut) : BitSet >>> res2: scala.collection.BitSet = BitSet(2, 4, 6) >>> should be BitSet(6, 4, 2)? >>> >>> an impossible case is when the type of the objects in the container >>> changes >>> >>> scala> set.map("a" * _) >>> res3: scala.collection.SortedSet[String] = TreeSet(a, aa, aaa) >>> this seems like correct behavior >>> >>> >>> On Mon, Nov 28, 2016 at 10:34 PM Vlad Patryshev <[email protected]> >>> wrote: >>> >>> It was a pretty nice (counter-)example, but I wonder what is >>> "SortedSet"? And of course the next question will be - how should map be >>> defined on "SortedSet"? >>> >>> It's not a joke, it's a serious question. >>> >>> Thanks, >>> -Vlad >>> >>> On Mon, Nov 28, 2016 at 8:14 PM, Tobin Yehle <[email protected]> >>> wrote: >>> >>> Not sure if I'm really posting this in the right place, but: >>> >>> Calling map on a collection that requires an implicit ordering results >>> in some surprising behavior. For example: >>> >>> scala> val set = SortedSet(1,2,3)(ord=Ordering.Int.reverse) >>> set: scala.collection.SortedSet[Int] = TreeSet(3, 2, 1) >>> >>> >>> scala> set.firstKey == set.map(identity).firstKey >>> res0: Boolean = false >>> >>> My feeling is that mapping the identity function over any collection >>> should not change anything. >>> >>> In this case it is clear what is happening. The CanBuildFrom provided by >>> SortedSet is pulling an Ordering instance out of predef (Ordering.Int) >>> instead of using the ordering from the origin collection. >>> scala> set.toList >>> res1: List[Int] = List(3, 2, 1) >>> >>> >>> scala> set.map(identity).toList >>> res2: List[Int] = List(1, 2, 3) >>> >>> scala> set.ordering >>> res3: Ordering[Int] = scala.math.Ordering$$anon$4@3ff3275b >>> >>> scala> set.map(identity).ordering >>> res4: Ordering[Int] = scala.math.Ordering$Int$@7fa85a55 >>> >>> I think this can be fixed by providing a more specific CanBuildFrom >>> instance to be used when mapping between two sorted collections that >>> contain the same type. >>> >>> i.e. Provide a CanBuildFrom[Sorted[K, _], K, Sorted[K, _]] somewhere >>> that has precedence over the more generic usual CanBuildFrom[CC[_], A, >>> CC[A]] >>> >>> I'm not sure how it could be done, but the static overloading resolution >>> rules make this possible, I think. >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "scala-language" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to [email protected]. >>> >>> >>> For more options, visit https://groups.google.com/d/optout. >>> >>> -- >>> You received this message because you are subscribed to a topic in the >>> Google Groups "scala-language" group. >>> To unsubscribe from this topic, visit https://groups.google.com/d/to >>> pic/scala-language/Q5A1TTEZN4Q/unsubscribe. >>> To unsubscribe from this group and all its topics, send an email to >>> [email protected]. >>> For more options, visit https://groups.google.com/d/optout. >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "scala-language" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to [email protected]. >>> For more options, visit https://groups.google.com/d/optout. >>> >>> >>> >>> >>> -- >>> Oliver Ruebenacker >>> Senior Software Engineer, Diabetes Portal >>> <http://www.type2diabetesgenetics.org/>, Broad Institute >>> <http://www.broadinstitute.org/> >>> >>> -- >>> You received this message because you are subscribed to a topic in the >>> Google Groups "scala-language" group. >>> To unsubscribe from this topic, visit https://groups.google.com/d/to >>> pic/scala-language/Q5A1TTEZN4Q/unsubscribe. >>> To unsubscribe from this group and all its topics, send an email to >>> [email protected]. >>> For more options, visit https://groups.google.com/d/optout. >>> >> -- >> You received this message because you are subscribed to the Google Groups >> "scala-language" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> For more options, visit https://groups.google.com/d/optout. >> > > > > -- > Oliver Ruebenacker > Senior Software Engineer, Diabetes Portal > <http://www.type2diabetesgenetics.org/>, Broad Institute > <http://www.broadinstitute.org/> > > -- > You received this message because you are subscribed to the Google Groups > "scala-language" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "scala-language" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout. --94eb2c18f7ee7052e8054287a506 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">Even if it's the same type, how would one deal with<di= v><br></div><div><font face=3D"monospace, monospace">1::2::3::Nil map (_%2)= </font> ?</div></div><div class=3D"gmail_extra"><br clear=3D"all"><div><div= class=3D"gmail_signature" data-smartmail=3D"gmail_signature">Thanks,<br>-V= lad</div></div> <br><div class=3D"gmail_quote">On Wed, Nov 30, 2016 at 7:09 AM, Oliver Rueb= enacker <span dir=3D"ltr"><<a href=3D"mailto:[email protected]" target=3D= "_blank">[email protected]</a>></span> wrote:<br><blockquote class=3D"gma= il_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-lef= t:1ex"><div dir=3D"ltr"><div><div><div><div><div><br></div>=C2=A0=C2=A0=C2= =A0=C2=A0 Hello,<br><br></div>=C2=A0 I=C2=A0 mean what if you have, for exa= mple<br><br></div>=C2=A0 def mapMySet[A, B](set: SortedSet[A], f: A =3D>= B): SortedSet[B] =3D set.map(f)<br><br></div>=C2=A0 You can't prove th= at A and B are the same type, so the mapped set can't just take the Ord= ering[A] from the original set, but you'd have to provide a fresh Order= ing[B]. But then some one might call mapMySet with A and B the same.<br><br= ></div>=C2=A0 =C2=A0=C2=A0 Best, Oliver<br></div><div class=3D"HOEnZb"><div= class=3D"h5"><div class=3D"gmail_extra"><br><div class=3D"gmail_quote">On = Tue, Nov 29, 2016 at 3:23 PM, Tobin Yehle <span dir=3D"ltr"><<a href=3D"= mailto:[email protected]" target=3D"_blank">[email protected]</a>>= </span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .= 8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir=3D"ltr"><div>I th= ink the least surprising behavior would be to treat them as the same, but I= 'm not sure I follow you exactly. Won't a=C2=A0<span style=3D"color= :rgb(33,33,33)">CanBuildFrom[Sorted[K, _], K, Sorted[K, _]] work if it is s= cope?</span></div></div><div class=3D"m_-5533521596008018393HOEnZb"><div cl= ass=3D"m_-5533521596008018393h5"><br><div class=3D"gmail_quote"><div dir=3D= "ltr">On Tue, Nov 29, 2016 at 8:16 AM Oliver Ruebenacker <<a href=3D"mai= lto:[email protected]" target=3D"_blank">[email protected]</a>> wrote:<br>= </div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-l= eft:1px #ccc solid;padding-left:1ex"><div dir=3D"ltr" class=3D"m_-553352159= 6008018393m_-4658453758191436845gmail_msg"><div class=3D"m_-553352159600801= 8393m_-4658453758191436845gmail_msg"><div class=3D"m_-5533521596008018393m_= -4658453758191436845gmail_msg"><div class=3D"m_-5533521596008018393m_-46584= 53758191436845gmail_msg"><div class=3D"m_-5533521596008018393m_-46584537581= 91436845gmail_msg"><br class=3D"m_-5533521596008018393m_-465845375819143684= 5gmail_msg"></div>=C2=A0=C2=A0=C2=A0=C2=A0 Hello,<br class=3D"m_-5533521596= 008018393m_-4658453758191436845gmail_msg"><br class=3D"m_-55335215960080183= 93m_-4658453758191436845gmail_msg"></div>=C2=A0 The original ordering can o= nly be kept if the new collection has the same type of elements. That means= your suggestion would split mapping into two cases - same type or not same= type - with different behaviors for each case. That would certainly compli= cate things.<br class=3D"m_-5533521596008018393m_-4658453758191436845gmail_= msg"><br class=3D"m_-5533521596008018393m_-4658453758191436845gmail_msg"></= div>=C2=A0 For example, what happens when we don't know whether the typ= e is the same due to type parameters? Would we treat them as different?<br = class=3D"m_-5533521596008018393m_-4658453758191436845gmail_msg"><br class= =3D"m_-5533521596008018393m_-4658453758191436845gmail_msg"></div><div class= =3D"m_-5533521596008018393m_-4658453758191436845gmail_msg">=C2=A0=C2=A0=C2= =A0=C2=A0 Best, Oliver<br class=3D"m_-5533521596008018393m_-465845375819143= 6845gmail_msg"></div><div class=3D"m_-5533521596008018393m_-465845375819143= 6845gmail_msg"><br class=3D"m_-5533521596008018393m_-4658453758191436845gma= il_msg"><br class=3D"m_-5533521596008018393m_-4658453758191436845gmail_msg"= ></div><div class=3D"m_-5533521596008018393m_-4658453758191436845gmail_msg"= ><br class=3D"m_-5533521596008018393m_-4658453758191436845gmail_msg">=C2=A0= <br class=3D"m_-5533521596008018393m_-4658453758191436845gmail_msg"></div>= </div><div class=3D"gmail_extra m_-5533521596008018393m_-465845375819143684= 5gmail_msg"></div><div class=3D"gmail_extra m_-5533521596008018393m_-465845= 3758191436845gmail_msg"><br class=3D"m_-5533521596008018393m_-4658453758191= 436845gmail_msg"><div class=3D"gmail_quote m_-5533521596008018393m_-4658453= 758191436845gmail_msg">On Tue, Nov 29, 2016 at 1:23 AM, Tobin Yehle <span d= ir=3D"ltr" class=3D"m_-5533521596008018393m_-4658453758191436845gmail_msg">= <<a href=3D"mailto:[email protected]" class=3D"m_-5533521596008018393= m_-4658453758191436845gmail_msg" target=3D"_blank">[email protected]</a>= ></span> wrote:<br class=3D"m_-5533521596008018393m_-4658453758191436845= gmail_msg"><blockquote class=3D"gmail_quote m_-5533521596008018393m_-465845= 3758191436845gmail_msg" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc sol= id;padding-left:1ex"><div dir=3D"ltr" class=3D"m_-5533521596008018393m_-465= 8453758191436845gmail_msg">On the immutable side, I think the only concrete= collections that inherit from SortedSet are TreeSet and BitSet. I think th= e problem also exists in TreeMap, and all the mutable versions of these thr= ee structures. Mutable BitSets are probably the largest use case.<div class= =3D"m_-5533521596008018393m_-4658453758191436845gmail_msg"><br class=3D"m_-= 5533521596008018393m_-4658453758191436845gmail_msg"></div><div class=3D"m_-= 5533521596008018393m_-4658453758191436845gmail_msg">Use cases for TreeSet a= nd TreeMap are for situations where a HashSet/Map would be good, but in-ord= er traversals are also needed. They provide Log insertions/deletions/lookup= s.</div><div class=3D"m_-5533521596008018393m_-4658453758191436845gmail_msg= "><br class=3D"m_-5533521596008018393m_-4658453758191436845gmail_msg"></div= ><div class=3D"m_-5533521596008018393m_-4658453758191436845gmail_msg">My th= ought is that sorted collections should retain their ordering whenever poss= ible.</div><div class=3D"m_-5533521596008018393m_-4658453758191436845gmail_= msg"><br class=3D"m_-5533521596008018393m_-4658453758191436845gmail_msg"></= div><div class=3D"m_-5533521596008018393m_-4658453758191436845gmail_msg"><s= pan class=3D"m_-5533521596008018393m_-4658453758191436845gmail_msg"><div cl= ass=3D"m_-5533521596008018393m_-4658453758191436845gmail_msg">scala> val= set =3D SortedSet(1,2,3)(ord=3DOrdering.<wbr>Int.reverse)</div><div class= =3D"m_-5533521596008018393m_-4658453758191436845gmail_msg">set: scala.colle= ction.SortedSet[Int<wbr>] =3D TreeSet(3, 2, 1)</div><div class=3D"m_-553352= 1596008018393m_-4658453758191436845gmail_msg"><br class=3D"m_-5533521596008= 018393m_-4658453758191436845gmail_msg"></div></span><div class=3D"m_-553352= 1596008018393m_-4658453758191436845gmail_msg">scala> set.map(identity)</= div><div class=3D"m_-5533521596008018393m_-4658453758191436845gmail_msg">re= s0: scala.collection.SortedSet[Int<wbr>] =3D TreeSet(1, 2, 3) =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0should be TreeSet(3, 2, 1)?</div><div class=3D"m_-5533= 521596008018393m_-4658453758191436845gmail_msg"><br class=3D"m_-55335215960= 08018393m_-4658453758191436845gmail_msg"></div><div class=3D"m_-55335215960= 08018393m_-4658453758191436845gmail_msg">scala> set.map(_*2)</div><div c= lass=3D"m_-5533521596008018393m_-4658453758191436845gmail_msg">res1: scala.= collection.SortedSet[Int<wbr>] =3D TreeSet(2, 4, 6) =C2=A0 =C2=A0 =C2=A0 = =C2=A0 should be TreeSet(6, 4, 2)?</div></div><div class=3D"m_-553352159600= 8018393m_-4658453758191436845gmail_msg"><br class=3D"m_-5533521596008018393= m_-4658453758191436845gmail_msg"></div><div class=3D"m_-5533521596008018393= m_-4658453758191436845gmail_msg">and if possible</div><div class=3D"m_-5533= 521596008018393m_-4658453758191436845gmail_msg"><br class=3D"m_-55335215960= 08018393m_-4658453758191436845gmail_msg"></div><div class=3D"m_-55335215960= 08018393m_-4658453758191436845gmail_msg"><div class=3D"m_-55335215960080183= 93m_-4658453758191436845gmail_msg">scala> set.map(_*2)(collection.breakO= <wbr>ut) : BitSet</div><div class=3D"m_-5533521596008018393m_-4658453758191= 436845gmail_msg">res2: scala.collection.BitSet =3D BitSet(2, 4, 6) =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0should be BitSet(6, 4, 2)?</div></div><div class=3D"m_-55335215960080183= 93m_-4658453758191436845gmail_msg"><br class=3D"m_-5533521596008018393m_-46= 58453758191436845gmail_msg"></div><div class=3D"m_-5533521596008018393m_-46= 58453758191436845gmail_msg">an impossible case is when the type of the obje= cts in the container changes</div><div class=3D"m_-5533521596008018393m_-46= 58453758191436845gmail_msg"><br class=3D"m_-5533521596008018393m_-465845375= 8191436845gmail_msg"></div><div class=3D"m_-5533521596008018393m_-465845375= 8191436845gmail_msg"><div class=3D"m_-5533521596008018393m_-465845375819143= 6845gmail_msg">scala> set.map("a" * _)</div><div class=3D"m_-5= 533521596008018393m_-4658453758191436845gmail_msg">res3: scala.collection.S= ortedSet[Str<wbr>ing] =3D TreeSet(a, aa, aaa) =C2=A0 =C2=A0 =C2=A0 =C2=A0th= is seems like correct behavior</div></div><div class=3D"m_-5533521596008018= 393m_-4658453758191436845gmail_msg"><br class=3D"m_-5533521596008018393m_-4= 658453758191436845gmail_msg"></div></div><br class=3D"m_-553352159600801839= 3m_-4658453758191436845gmail_msg"><div class=3D"gmail_quote m_-553352159600= 8018393m_-4658453758191436845gmail_msg"><div class=3D"m_-553352159600801839= 3m_-4658453758191436845gmail_msg"><div class=3D"m_-5533521596008018393m_-46= 58453758191436845m_4561654010907287049h5 m_-5533521596008018393m_-465845375= 8191436845gmail_msg"><div dir=3D"ltr" class=3D"m_-5533521596008018393m_-465= 8453758191436845gmail_msg">On Mon, Nov 28, 2016 at 10:34 PM Vlad Patryshev = <<a href=3D"mailto:[email protected]" class=3D"m_-5533521596008018393= m_-4658453758191436845gmail_msg" target=3D"_blank">[email protected]</a>= > wrote:<br class=3D"m_-5533521596008018393m_-4658453758191436845gmail_m= sg"></div></div></div><blockquote class=3D"gmail_quote m_-55335215960080183= 93m_-4658453758191436845gmail_msg" style=3D"margin:0 0 0 .8ex;border-left:1= px #ccc solid;padding-left:1ex"><div class=3D"m_-5533521596008018393m_-4658= 453758191436845gmail_msg"><div class=3D"m_-5533521596008018393m_-4658453758= 191436845m_4561654010907287049h5 m_-5533521596008018393m_-46584537581914368= 45gmail_msg"><div dir=3D"ltr" class=3D"m_-5533521596008018393m_-46584537581= 91436845m_4561654010907287049m_-4798312560682989803gmail_msg m_-55335215960= 08018393m_-4658453758191436845gmail_msg">It was a pretty nice (counter-)exa= mple, but I wonder what is "SortedSet"? And of course the next qu= estion will be - how should map be defined on "SortedSet"?<div cl= ass=3D"m_-5533521596008018393m_-4658453758191436845m_4561654010907287049m_-= 4798312560682989803gmail_msg m_-5533521596008018393m_-4658453758191436845gm= ail_msg"><br class=3D"m_-5533521596008018393m_-4658453758191436845m_4561654= 010907287049m_-4798312560682989803gmail_msg m_-5533521596008018393m_-465845= 3758191436845gmail_msg"></div><div class=3D"m_-5533521596008018393m_-465845= 3758191436845m_4561654010907287049m_-4798312560682989803gmail_msg m_-553352= 1596008018393m_-4658453758191436845gmail_msg">It's not a joke, it's= a serious question.</div></div><div class=3D"gmail_extra m_-55335215960080= 18393m_-4658453758191436845m_4561654010907287049m_-4798312560682989803gmail= _msg m_-5533521596008018393m_-4658453758191436845gmail_msg"><br class=3D"m_= -5533521596008018393m_-4658453758191436845m_4561654010907287049m_-479831256= 0682989803gmail_msg m_-5533521596008018393m_-4658453758191436845gmail_msg" = clear=3D"all"><div class=3D"m_-5533521596008018393m_-4658453758191436845m_4= 561654010907287049m_-4798312560682989803gmail_msg m_-5533521596008018393m_-= 4658453758191436845gmail_msg"><div class=3D"m_-5533521596008018393m_-465845= 3758191436845m_4561654010907287049m_-4798312560682989803m_-5042556665519706= 739gmail_signature m_-5533521596008018393m_-4658453758191436845m_4561654010= 907287049m_-4798312560682989803gmail_msg m_-5533521596008018393m_-465845375= 8191436845gmail_msg" data-smartmail=3D"gmail_signature">Thanks,<br class=3D= "m_-5533521596008018393m_-4658453758191436845m_4561654010907287049m_-479831= 2560682989803gmail_msg m_-5533521596008018393m_-4658453758191436845gmail_ms= g">-Vlad</div></div> <br class=3D"m_-5533521596008018393m_-4658453758191436845m_4561654010907287= 049m_-4798312560682989803gmail_msg m_-5533521596008018393m_-465845375819143= 6845gmail_msg"><div class=3D"gmail_quote m_-5533521596008018393m_-465845375= 8191436845m_4561654010907287049m_-4798312560682989803gmail_msg m_-553352159= 6008018393m_-4658453758191436845gmail_msg"></div></div><div class=3D"gmail_= extra m_-5533521596008018393m_-4658453758191436845m_4561654010907287049m_-4= 798312560682989803gmail_msg m_-5533521596008018393m_-4658453758191436845gma= il_msg"><div class=3D"gmail_quote m_-5533521596008018393m_-4658453758191436= 845m_4561654010907287049m_-4798312560682989803gmail_msg m_-5533521596008018= 393m_-4658453758191436845gmail_msg">On Mon, Nov 28, 2016 at 8:14 PM, Tobin = Yehle <span dir=3D"ltr" class=3D"m_-5533521596008018393m_-46584537581914368= 45m_4561654010907287049m_-4798312560682989803gmail_msg m_-55335215960080183= 93m_-4658453758191436845gmail_msg"><<a href=3D"mailto:[email protected]= om" class=3D"m_-5533521596008018393m_-4658453758191436845m_4561654010907287= 049m_-4798312560682989803gmail_msg m_-5533521596008018393m_-465845375819143= 6845gmail_msg" target=3D"_blank">[email protected]</a>></span> wrote:= <br class=3D"m_-5533521596008018393m_-4658453758191436845m_4561654010907287= 049m_-4798312560682989803gmail_msg m_-5533521596008018393m_-465845375819143= 6845gmail_msg"></div></div><div class=3D"gmail_extra m_-5533521596008018393= m_-4658453758191436845m_4561654010907287049m_-4798312560682989803gmail_msg = m_-5533521596008018393m_-4658453758191436845gmail_msg"><div class=3D"gmail_= quote m_-5533521596008018393m_-4658453758191436845m_4561654010907287049m_-4= 798312560682989803gmail_msg m_-5533521596008018393m_-4658453758191436845gma= il_msg"><blockquote class=3D"gmail_quote m_-5533521596008018393m_-465845375= 8191436845m_4561654010907287049m_-4798312560682989803gmail_msg m_-553352159= 6008018393m_-4658453758191436845gmail_msg" style=3D"margin:0 0 0 .8ex;borde= r-left:1px #ccc solid;padding-left:1ex"><div dir=3D"ltr" class=3D"m_-553352= 1596008018393m_-4658453758191436845m_4561654010907287049m_-4798312560682989= 803gmail_msg m_-5533521596008018393m_-4658453758191436845gmail_msg"><div cl= ass=3D"m_-5533521596008018393m_-4658453758191436845m_4561654010907287049m_-= 4798312560682989803gmail_msg m_-5533521596008018393m_-4658453758191436845gm= ail_msg">Not sure if I'm really posting this in the right place, but:</= div><div class=3D"m_-5533521596008018393m_-4658453758191436845m_45616540109= 07287049m_-4798312560682989803gmail_msg m_-5533521596008018393m_-4658453758= 191436845gmail_msg"><br class=3D"m_-5533521596008018393m_-46584537581914368= 45m_4561654010907287049m_-4798312560682989803gmail_msg m_-55335215960080183= 93m_-4658453758191436845gmail_msg"></div>Calling map on a collection that r= equires an implicit ordering results in some surprising behavior. For examp= le:<div class=3D"m_-5533521596008018393m_-4658453758191436845m_456165401090= 7287049m_-4798312560682989803gmail_msg m_-5533521596008018393m_-46584537581= 91436845gmail_msg"><div class=3D"m_-5533521596008018393m_-46584537581914368= 45m_4561654010907287049m_-4798312560682989803gmail_msg m_-55335215960080183= 93m_-4658453758191436845gmail_msg"><br class=3D"m_-5533521596008018393m_-46= 58453758191436845m_4561654010907287049m_-4798312560682989803gmail_msg m_-55= 33521596008018393m_-4658453758191436845gmail_msg"></div><div class=3D"m_-55= 33521596008018393m_-4658453758191436845m_4561654010907287049m_-479831256068= 2989803m_-5042556665519706739m_3440269965916649927prettyprint m_-5533521596= 008018393m_-4658453758191436845m_4561654010907287049m_-4798312560682989803g= mail_msg m_-5533521596008018393m_-4658453758191436845gmail_msg" style=3D"ba= ckground-color:rgb(250,250,250);border-color:rgb(187,187,187);border-style:= solid;border-width:1px;word-wrap:break-word"><code class=3D"m_-553352159600= 8018393m_-4658453758191436845m_4561654010907287049m_-4798312560682989803m_-= 5042556665519706739m_3440269965916649927prettyprint m_-5533521596008018393m= _-4658453758191436845m_4561654010907287049m_-4798312560682989803gmail_msg m= _-5533521596008018393m_-4658453758191436845gmail_msg"><div class=3D"m_-5533= 521596008018393m_-4658453758191436845m_4561654010907287049m_-47983125606829= 89803m_-5042556665519706739m_3440269965916649927subprettyprint m_-553352159= 6008018393m_-4658453758191436845m_4561654010907287049m_-4798312560682989803= gmail_msg m_-5533521596008018393m_-4658453758191436845gmail_msg"><span styl= e=3D"color:#000" class=3D"m_-5533521596008018393m_-4658453758191436845m_456= 1654010907287049m_-4798312560682989803m_-5042556665519706739m_3440269965916= 649927styled-by-prettify m_-5533521596008018393m_-4658453758191436845m_4561= 654010907287049m_-4798312560682989803gmail_msg m_-5533521596008018393m_-465= 8453758191436845gmail_msg">scala</span><span style=3D"color:#660" class=3D"= m_-5533521596008018393m_-4658453758191436845m_4561654010907287049m_-4798312= 560682989803m_-5042556665519706739m_3440269965916649927styled-by-prettify m= _-5533521596008018393m_-4658453758191436845m_4561654010907287049m_-47983125= 60682989803gmail_msg m_-5533521596008018393m_-4658453758191436845gmail_msg"= >></span><span style=3D"color:#000" class=3D"m_-5533521596008018393m_-46= 58453758191436845m_4561654010907287049m_-4798312560682989803m_-504255666551= 9706739m_3440269965916649927styled-by-prettify m_-5533521596008018393m_-465= 8453758191436845m_4561654010907287049m_-4798312560682989803gmail_msg m_-553= 3521596008018393m_-4658453758191436845gmail_msg"> val </span><span style=3D= "color:#008" class=3D"m_-5533521596008018393m_-4658453758191436845m_4561654= 010907287049m_-4798312560682989803m_-5042556665519706739m_34402699659166499= 27styled-by-prettify m_-5533521596008018393m_-4658453758191436845m_45616540= 10907287049m_-4798312560682989803gmail_msg m_-5533521596008018393m_-4658453= 758191436845gmail_msg">set</span><span style=3D"color:#000" class=3D"m_-553= 3521596008018393m_-4658453758191436845m_4561654010907287049m_-4798312560682= 989803m_-5042556665519706739m_3440269965916649927styled-by-prettify m_-5533= 521596008018393m_-4658453758191436845m_4561654010907287049m_-47983125606829= 89803gmail_msg m_-5533521596008018393m_-4658453758191436845gmail_msg"> </sp= an><span style=3D"color:#660" class=3D"m_-5533521596008018393m_-46584537581= 91436845m_4561654010907287049m_-4798312560682989803m_-5042556665519706739m_= 3440269965916649927styled-by-prettify m_-5533521596008018393m_-465845375819= 1436845m_4561654010907287049m_-4798312560682989803gmail_msg m_-553352159600= 8018393m_-4658453758191436845gmail_msg">=3D</span><span style=3D"color:#000= " class=3D"m_-5533521596008018393m_-4658453758191436845m_456165401090728704= 9m_-4798312560682989803m_-5042556665519706739m_3440269965916649927styled-by= -prettify m_-5533521596008018393m_-4658453758191436845m_4561654010907287049= m_-4798312560682989803gmail_msg m_-5533521596008018393m_-465845375819143684= 5gmail_msg"> </span><span style=3D"color:#606" class=3D"m_-5533521596008018= 393m_-4658453758191436845m_4561654010907287049m_-4798312560682989803m_-5042= 556665519706739m_3440269965916649927styled-by-prettify m_-55335215960080183= 93m_-4658453758191436845m_4561654010907287049m_-4798312560682989803gmail_ms= g m_-5533521596008018393m_-4658453758191436845gmail_msg">SortedSet</span><s= pan style=3D"color:#660" class=3D"m_-5533521596008018393m_-4658453758191436= 845m_4561654010907287049m_-4798312560682989803m_-5042556665519706739m_34402= 69965916649927styled-by-prettify m_-5533521596008018393m_-46584537581914368= 45m_4561654010907287049m_-4798312560682989803gmail_msg m_-55335215960080183= 93m_-4658453758191436845gmail_msg">(</span><span style=3D"color:#066" class= =3D"m_-5533521596008018393m_-4658453758191436845m_4561654010907287049m_-479= 8312560682989803m_-5042556665519706739m_3440269965916649927styled-by-pretti= fy m_-5533521596008018393m_-4658453758191436845m_4561654010907287049m_-4798= 312560682989803gmail_msg m_-5533521596008018393m_-4658453758191436845gmail_= msg">1</span><span style=3D"color:#660" class=3D"m_-5533521596008018393m_-4= 658453758191436845m_4561654010907287049m_-4798312560682989803m_-50425566655= 19706739m_3440269965916649927styled-by-prettify m_-5533521596008018393m_-46= 58453758191436845m_4561654010907287049m_-4798312560682989803gmail_msg m_-55= 33521596008018393m_-4658453758191436845gmail_msg">,</span><span style=3D"co= lor:#066" class=3D"m_-5533521596008018393m_-4658453758191436845m_4561654010= 907287049m_-4798312560682989803m_-5042556665519706739m_3440269965916649927s= tyled-by-prettify m_-5533521596008018393m_-4658453758191436845m_45616540109= 07287049m_-4798312560682989803gmail_msg m_-5533521596008018393m_-4658453758= 191436845gmail_msg">2</span><span style=3D"color:#660" class=3D"m_-55335215= 96008018393m_-4658453758191436845m_4561654010907287049m_-479831256068298980= 3m_-5042556665519706739m_3440269965916649927styled-by-prettify m_-553352159= 6008018393m_-4658453758191436845m_4561654010907287049m_-4798312560682989803= gmail_msg m_-5533521596008018393m_-4658453758191436845gmail_msg">,</span><s= pan style=3D"color:#066" class=3D"m_-5533521596008018393m_-4658453758191436= 845m_4561654010907287049m_-4798312560682989803m_-5042556665519706739m_34402= 69965916649927styled-by-prettify m_-5533521596008018393m_-46584537581914368= 45m_4561654010907287049m_-4798312560682989803gmail_msg m_-55335215960080183= 93m_-4658453758191436845gmail_msg">3</span><span style=3D"color:#660" class= =3D"m_-5533521596008018393m_-4658453758191436845m_4561654010907287049m_-479= 8312560682989803m_-5042556665519706739m_3440269965916649927styled-by-pretti= fy m_-5533521596008018393m_-4658453758191436845m_4561654010907287049m_-4798= 312560682989803gmail_msg m_-5533521596008018393m_-4658453758191436845gmail_= msg">)(</span><span style=3D"color:#000" class=3D"m_-5533521596008018393m_-= 4658453758191436845m_4561654010907287049m_-4798312560682989803m_-5042556665= 519706739m_3440269965916649927styled-by-prettify m_-5533521596008018393m_-4= 658453758191436845m_4561654010907287049m_-4798312560682989803gmail_msg m_-5= 533521596008018393m_-4658453758191436845gmail_msg">ord</span><span style=3D= "color:#660" class=3D"m_-5533521596008018393m_-4658453758191436845m_4561654= 010907287049m_-4798312560682989803m_-5042556665519706739m_34402699659166499= 27styled-by-prettify m_-5533521596008018393m_-4658453758191436845m_45616540= 10907287049m_-4798312560682989803gmail_msg m_-5533521596008018393m_-4658453= 758191436845gmail_msg">=3D</span><span style=3D"color:#606" class=3D"m_-553= 3521596008018393m_-4658453758191436845m_4561654010907287049m_-4798312560682= 989803m_-5042556665519706739m_3440269965916649927styled-by-prettify m_-5533= 521596008018393m_-4658453758191436845m_4561654010907287049m_-47983125606829= 89803gmail_msg m_-5533521596008018393m_-4658453758191436845gmail_msg">Order= ing</span><span style=3D"color:#660" class=3D"m_-5533521596008018393m_-4658= 453758191436845m_4561654010907287049m_-4798312560682989803m_-50425566655197= 06739m_3440269965916649927styled-by-prettify m_-5533521596008018393m_-46584= 53758191436845m_4561654010907287049m_-4798312560682989803gmail_msg m_-55335= 21596008018393m_-4658453758191436845gmail_msg">.</span><span style=3D"color= :#606" class=3D"m_-5533521596008018393m_-4658453758191436845m_4561654010907= 287049m_-4798312560682989803m_-5042556665519706739m_3440269965916649927styl= ed-by-prettify m_-5533521596008018393m_-4658453758191436845m_45616540109072= 87049m_-4798312560682989803gmail_msg m_-5533521596008018393m_-4658453758191= 436845gmail_msg"><wbr>Int</span><span style=3D"color:#660" class=3D"m_-5533= 521596008018393m_-4658453758191436845m_4561654010907287049m_-47983125606829= 89803m_-5042556665519706739m_3440269965916649927styled-by-prettify m_-55335= 21596008018393m_-4658453758191436845m_4561654010907287049m_-479831256068298= 9803gmail_msg m_-5533521596008018393m_-4658453758191436845gmail_msg">.</spa= n><span style=3D"color:#000" class=3D"m_-5533521596008018393m_-465845375819= 1436845m_4561654010907287049m_-4798312560682989803m_-5042556665519706739m_3= 440269965916649927styled-by-prettify m_-5533521596008018393m_-4658453758191= 436845m_4561654010907287049m_-4798312560682989803gmail_msg m_-5533521596008= 018393m_-4658453758191436845gmail_msg">reverse</span><span style=3D"color:#= 660" class=3D"m_-5533521596008018393m_-4658453758191436845m_456165401090728= 7049m_-4798312560682989803m_-5042556665519706739m_3440269965916649927styled= -by-prettify m_-5533521596008018393m_-4658453758191436845m_4561654010907287= 049m_-4798312560682989803gmail_msg m_-5533521596008018393m_-465845375819143= 6845gmail_msg">)</span><span style=3D"color:#000" class=3D"m_-5533521596008= 018393m_-4658453758191436845m_4561654010907287049m_-4798312560682989803m_-5= 042556665519706739m_3440269965916649927styled-by-prettify m_-55335215960080= 18393m_-4658453758191436845m_4561654010907287049m_-4798312560682989803gmail= _msg m_-5533521596008018393m_-4658453758191436845gmail_msg"><br class=3D"m_= -5533521596008018393m_-4658453758191436845m_4561654010907287049m_-479831256= 0682989803gmail_msg m_-5533521596008018393m_-4658453758191436845gmail_msg">= </span><span style=3D"color:#008" class=3D"m_-5533521596008018393m_-4658453= 758191436845m_4561654010907287049m_-4798312560682989803m_-50425566655197067= 39m_3440269965916649927styled-by-prettify m_-5533521596008018393m_-46584537= 58191436845m_4561654010907287049m_-4798312560682989803gmail_msg m_-55335215= 96008018393m_-4658453758191436845gmail_msg">set</span><span style=3D"color:= #660" class=3D"m_-5533521596008018393m_-4658453758191436845m_45616540109072= 87049m_-4798312560682989803m_-5042556665519706739m_3440269965916649927style= d-by-prettify m_-5533521596008018393m_-4658453758191436845m_456165401090728= 7049m_-4798312560682989803gmail_msg m_-5533521596008018393m_-46584537581914= 36845gmail_msg">:</span><span style=3D"color:#000" class=3D"m_-553352159600= 8018393m_-4658453758191436845m_4561654010907287049m_-4798312560682989803m_-= 5042556665519706739m_3440269965916649927styled-by-prettify m_-5533521596008= 018393m_-4658453758191436845m_4561654010907287049m_-4798312560682989803gmai= l_msg m_-5533521596008018393m_-4658453758191436845gmail_msg"> scala</span><= span style=3D"color:#660" class=3D"m_-5533521596008018393m_-465845375819143= 6845m_4561654010907287049m_-4798312560682989803m_-5042556665519706739m_3440= 269965916649927styled-by-prettify m_-5533521596008018393m_-4658453758191436= 845m_4561654010907287049m_-4798312560682989803gmail_msg m_-5533521596008018= 393m_-4658453758191436845gmail_msg">.</span><span style=3D"color:#000" clas= s=3D"m_-5533521596008018393m_-4658453758191436845m_4561654010907287049m_-47= 98312560682989803m_-5042556665519706739m_3440269965916649927styled-by-prett= ify m_-5533521596008018393m_-4658453758191436845m_4561654010907287049m_-479= 8312560682989803gmail_msg m_-5533521596008018393m_-4658453758191436845gmail= _msg">collection</span><span style=3D"color:#660" class=3D"m_-5533521596008= 018393m_-4658453758191436845m_4561654010907287049m_-4798312560682989803m_-5= 042556665519706739m_3440269965916649927styled-by-prettify m_-55335215960080= 18393m_-4658453758191436845m_4561654010907287049m_-4798312560682989803gmail= _msg m_-5533521596008018393m_-4658453758191436845gmail_msg">.</span><span s= tyle=3D"color:#606" class=3D"m_-5533521596008018393m_-4658453758191436845m_= 4561654010907287049m_-4798312560682989803m_-5042556665519706739m_3440269965= 916649927styled-by-prettify m_-5533521596008018393m_-4658453758191436845m_4= 561654010907287049m_-4798312560682989803gmail_msg m_-5533521596008018393m_-= 4658453758191436845gmail_msg">SortedSet</span><span style=3D"color:#660" cl= ass=3D"m_-5533521596008018393m_-4658453758191436845m_4561654010907287049m_-= 4798312560682989803m_-5042556665519706739m_3440269965916649927styled-by-pre= ttify m_-5533521596008018393m_-4658453758191436845m_4561654010907287049m_-4= 798312560682989803gmail_msg m_-5533521596008018393m_-4658453758191436845gma= il_msg">[</span><span style=3D"color:#606" class=3D"m_-5533521596008018393m= _-4658453758191436845m_4561654010907287049m_-4798312560682989803m_-50425566= 65519706739m_3440269965916649927styled-by-prettify m_-5533521596008018393m_= -4658453758191436845m_4561654010907287049m_-4798312560682989803gmail_msg m_= -5533521596008018393m_-4658453758191436845gmail_msg">Int</span><span style= =3D"color:#660" class=3D"m_-5533521596008018393m_-4658453758191436845m_4561= 654010907287049m_-4798312560682989803m_-5042556665519706739m_34402699659166= 49927styled-by-prettify m_-5533521596008018393m_-4658453758191436845m_45616= 54010907287049m_-4798312560682989803gmail_msg m_-5533521596008018393m_-4658= 453758191436845gmail_msg"><wbr>]</span><span style=3D"color:#000" class=3D"= m_-5533521596008018393m_-4658453758191436845m_4561654010907287049m_-4798312= 560682989803m_-5042556665519706739m_3440269965916649927styled-by-prettify m= _-5533521596008018393m_-4658453758191436845m_4561654010907287049m_-47983125= 60682989803gmail_msg m_-5533521596008018393m_-4658453758191436845gmail_msg"= > </span><span style=3D"color:#660" class=3D"m_-5533521596008018393m_-46584= 53758191436845m_4561654010907287049m_-4798312560682989803m_-504255666551970= 6739m_3440269965916649927styled-by-prettify m_-5533521596008018393m_-465845= 3758191436845m_4561654010907287049m_-4798312560682989803gmail_msg m_-553352= 1596008018393m_-4658453758191436845gmail_msg">=3D</span><span style=3D"colo= r:#000" class=3D"m_-5533521596008018393m_-4658453758191436845m_456165401090= 7287049m_-4798312560682989803m_-5042556665519706739m_3440269965916649927sty= led-by-prettify m_-5533521596008018393m_-4658453758191436845m_4561654010907= 287049m_-4798312560682989803gmail_msg m_-5533521596008018393m_-465845375819= 1436845gmail_msg"> </span><span style=3D"color:#606" class=3D"m_-5533521596= 008018393m_-4658453758191436845m_4561654010907287049m_-4798312560682989803m= _-5042556665519706739m_3440269965916649927styled-by-prettify m_-55335215960= 08018393m_-4658453758191436845m_4561654010907287049m_-4798312560682989803gm= ail_msg m_-5533521596008018393m_-4658453758191436845gmail_msg">TreeSet</spa= n><span style=3D"color:#660" class=3D"m_-5533521596008018393m_-465845375819= 1436845m_4561654010907287049m_-4798312560682989803m_-5042556665519706739m_3= 440269965916649927styled-by-prettify m_-5533521596008018393m_-4658453758191= 436845m_4561654010907287049m_-4798312560682989803gmail_msg m_-5533521596008= 018393m_-4658453758191436845gmail_msg">(</span><span style=3D"color:#066" c= lass=3D"m_-5533521596008018393m_-4658453758191436845m_4561654010907287049m_= -4798312560682989803m_-5042556665519706739m_3440269965916649927styled-by-pr= ettify m_-5533521596008018393m_-4658453758191436845m_4561654010907287049m_-= 4798312560682989803gmail_msg m_-5533521596008018393m_-4658453758191436845gm= ail_msg">3</span><span style=3D"color:#660" class=3D"m_-5533521596008018393= m_-4658453758191436845m_4561654010907287049m_-4798312560682989803m_-5042556= 665519706739m_3440269965916649927styled-by-prettify m_-5533521596008018393m= _-4658453758191436845m_4561654010907287049m_-4798312560682989803gmail_msg m= _-5533521596008018393m_-4658453758191436845gmail_msg">,</span><span style= =3D"color:#000" class=3D"m_-5533521596008018393m_-4658453758191436845m_4561= 654010907287049m_-4798312560682989803m_-5042556665519706739m_34402699659166= 49927styled-by-prettify m_-5533521596008018393m_-4658453758191436845m_45616= 54010907287049m_-4798312560682989803gmail_msg m_-5533521596008018393m_-4658= 453758191436845gmail_msg"> </span><span style=3D"color:#066" class=3D"m_-55= 33521596008018393m_-4658453758191436845m_4561654010907287049m_-479831256068= 2989803m_-5042556665519706739m_3440269965916649927styled-by-prettify m_-553= 3521596008018393m_-4658453758191436845m_4561654010907287049m_-4798312560682= 989803gmail_msg m_-5533521596008018393m_-4658453758191436845gmail_msg">2</s= pan><span style=3D"color:#660" class=3D"m_-5533521596008018393m_-4658453758= 191436845m_4561654010907287049m_-4798312560682989803m_-5042556665519706739m= _3440269965916649927styled-by-prettify m_-5533521596008018393m_-46584537581= 91436845m_4561654010907287049m_-4798312560682989803gmail_msg m_-55335215960= 08018393m_-4658453758191436845gmail_msg">,</span><span style=3D"color:#000"= class=3D"m_-5533521596008018393m_-4658453758191436845m_4561654010907287049= m_-4798312560682989803m_-5042556665519706739m_3440269965916649927styled-by-= prettify m_-5533521596008018393m_-4658453758191436845m_4561654010907287049m= _-4798312560682989803gmail_msg m_-5533521596008018393m_-4658453758191436845= gmail_msg"> </span><span style=3D"color:#066" class=3D"m_-55335215960080183= 93m_-4658453758191436845m_4561654010907287049m_-4798312560682989803m_-50425= 56665519706739m_3440269965916649927styled-by-prettify m_-553352159600801839= 3m_-4658453758191436845m_4561654010907287049m_-4798312560682989803gmail_msg= m_-5533521596008018393m_-4658453758191436845gmail_msg">1</span><span style= =3D"color:#660" class=3D"m_-5533521596008018393m_-4658453758191436845m_4561= 654010907287049m_-4798312560682989803m_-5042556665519706739m_34402699659166= 49927styled-by-prettify m_-5533521596008018393m_-4658453758191436845m_45616= 54010907287049m_-4798312560682989803gmail_msg m_-5533521596008018393m_-4658= 453758191436845gmail_msg">)</span><span style=3D"color:#000" class=3D"m_-55= 33521596008018393m_-4658453758191436845m_4561654010907287049m_-479831256068= 2989803m_-5042556665519706739m_3440269965916649927styled-by-prettify m_-553= 3521596008018393m_-4658453758191436845m_4561654010907287049m_-4798312560682= 989803gmail_msg m_-5533521596008018393m_-4658453758191436845gmail_msg"><br = class=3D"m_-5533521596008018393m_-4658453758191436845m_4561654010907287049m= _-4798312560682989803gmail_msg m_-5533521596008018393m_-4658453758191436845= gmail_msg"><br class=3D"m_-5533521596008018393m_-4658453758191436845m_45616= 54010907287049m_-4798312560682989803gmail_msg m_-5533521596008018393m_-4658= 453758191436845gmail_msg"><br class=3D"m_-5533521596008018393m_-46584537581= 91436845m_4561654010907287049m_-4798312560682989803gmail_msg m_-55335215960= 08018393m_-4658453758191436845gmail_msg">scala</span><span style=3D"color:#= 660" class=3D"m_-5533521596008018393m_-4658453758191436845m_456165401090728= 7049m_-4798312560682989803m_-5042556665519706739m_3440269965916649927styled= -by-prettify m_-5533521596008018393m_-4658453758191436845m_4561654010907287= 049m_-4798312560682989803gmail_msg m_-5533521596008018393m_-465845375819143= 6845gmail_msg">></span><span style=3D"color:#000" class=3D"m_-5533521596= 008018393m_-4658453758191436845m_4561654010907287049m_-4798312560682989803m= _-5042556665519706739m_3440269965916649927styled-by-prettify m_-55335215960= 08018393m_-4658453758191436845m_4561654010907287049m_-4798312560682989803gm= ail_msg m_-5533521596008018393m_-4658453758191436845gmail_msg"> </span><spa= n style=3D"color:#008" class=3D"m_-5533521596008018393m_-465845375819143684= 5m_4561654010907287049m_-4798312560682989803m_-5042556665519706739m_3440269= 965916649927styled-by-prettify m_-5533521596008018393m_-4658453758191436845= m_4561654010907287049m_-4798312560682989803gmail_msg m_-5533521596008018393= m_-4658453758191436845gmail_msg">set</span><span style=3D"color:#660" class= =3D"m_-5533521596008018393m_-4658453758191436845m_4561654010907287049m_-479= 8312560682989803m_-5042556665519706739m_3440269965916649927styled-by-pretti= fy m_-5533521596008018393m_-4658453758191436845m_4561654010907287049m_-4798= 312560682989803gmail_msg m_-5533521596008018393m_-4658453758191436845gmail_= msg">.</span><span style=3D"color:#000" class=3D"m_-5533521596008018393m_-4= 658453758191436845m_4561654010907287049m_-4798312560682989803m_-50425566655= 19706739m_3440269965916649927styled-by-prettify m_-5533521596008018393m_-46= 58453758191436845m_4561654010907287049m_-4798312560682989803gmail_msg m_-55= 33521596008018393m_-4658453758191436845gmail_msg">firstKey </span><span sty= le=3D"color:#660" class=3D"m_-5533521596008018393m_-4658453758191436845m_45= 61654010907287049m_-4798312560682989803m_-5042556665519706739m_344026996591= 6649927styled-by-prettify m_-5533521596008018393m_-4658453758191436845m_456= 1654010907287049m_-4798312560682989803gmail_msg m_-5533521596008018393m_-46= 58453758191436845gmail_msg">=3D=3D</span><span style=3D"color:#000" class= =3D"m_-5533521596008018393m_-4658453758191436845m_4561654010907287049m_-479= 8312560682989803m_-5042556665519706739m_3440269965916649927styled-by-pretti= fy m_-5533521596008018393m_-4658453758191436845m_4561654010907287049m_-4798= 312560682989803gmail_msg m_-5533521596008018393m_-4658453758191436845gmail_= msg"> </span><span style=3D"color:#008" class=3D"m_-5533521596008018393m_-4= 658453758191436845m_4561654010907287049m_-4798312560682989803m_-50425566655= 19706739m_3440269965916649927styled-by-prettify m_-5533521596008018393m_-46= 58453758191436845m_4561654010907287049m_-4798312560682989803gmail_msg m_-55= 33521596008018393m_-4658453758191436845gmail_msg">set</span><span style=3D"= color:#660" class=3D"m_-5533521596008018393m_-4658453758191436845m_45616540= 10907287049m_-4798312560682989803m_-5042556665519706739m_344026996591664992= 7styled-by-prettify m_-5533521596008018393m_-4658453758191436845m_456165401= 0907287049m_-4798312560682989803gmail_msg m_-5533521596008018393m_-46584537= 58191436845gmail_msg">.</span><span style=3D"color:#000" class=3D"m_-553352= 1596008018393m_-4658453758191436845m_4561654010907287049m_-4798312560682989= 803m_-5042556665519706739m_3440269965916649927styled-by-prettify m_-5533521= 596008018393m_-4658453758191436845m_4561654010907287049m_-47983125606829898= 03gmail_msg m_-5533521596008018393m_-4658453758191436845gmail_msg">map</spa= n><span style=3D"color:#660" class=3D"m_-5533521596008018393m_-465845375819= 1436845m_4561654010907287049m_-4798312560682989803m_-5042556665519706739m_3= 440269965916649927styled-by-prettify m_-5533521596008018393m_-4658453758191= 436845m_4561654010907287049m_-4798312560682989803gmail_msg m_-5533521596008= 018393m_-4658453758191436845gmail_msg">(</span><span style=3D"color:#000" c= lass=3D"m_-5533521596008018393m_-4658453758191436845m_4561654010907287049m_= -4798312560682989803m_-5042556665519706739m_3440269965916649927styled-by-pr= ettify m_-5533521596008018393m_-4658453758191436845m_4561654010907287049m_-= 4798312560682989803gmail_msg m_-5533521596008018393m_-4658453758191436845gm= ail_msg">identity</span><span style=3D"color:#660" class=3D"m_-553352159600= 8018393m_-4658453758191436845m_4561654010907287049m_-4798312560682989803m_-= 5042556665519706739m_3440269965916649927styled-by-prettify m_-5533521596008= 018393m_-4658453758191436845m_4561654010907287049m_-4798312560682989803gmai= l_msg m_-5533521596008018393m_-4658453758191436845gmail_msg">).</span><span= style=3D"color:#000" class=3D"m_-5533521596008018393m_-4658453758191436845= m_4561654010907287049m_-4798312560682989803m_-5042556665519706739m_34402699= 65916649927styled-by-prettify m_-5533521596008018393m_-4658453758191436845m= _4561654010907287049m_-4798312560682989803gmail_msg m_-5533521596008018393m= _-4658453758191436845gmail_msg">firstKey<br class=3D"m_-5533521596008018393= m_-4658453758191436845m_4561654010907287049m_-4798312560682989803gmail_msg = m_-5533521596008018393m_-4658453758191436845gmail_msg">res0</span><span sty= le=3D"color:#660" class=3D"m_-5533521596008018393m_-4658453758191436845m_45= 61654010907287049m_-4798312560682989803m_-5042556665519706739m_344026996591= 6649927styled-by-prettify m_-5533521596008018393m_-4658453758191436845m_456= 1654010907287049m_-4798312560682989803gmail_msg m_-5533521596008018393m_-46= 58453758191436845gmail_msg">:</span><span style=3D"color:#000" class=3D"m_-= 5533521596008018393m_-4658453758191436845m_4561654010907287049m_-4798312560= 682989803m_-5042556665519706739m_3440269965916649927styled-by-prettify m_-5= 533521596008018393m_-4658453758191436845m_4561654010907287049m_-47983125606= 82989803gmail_msg m_-5533521596008018393m_-4658453758191436845gmail_msg"> <= /span><span style=3D"color:#606" class=3D"m_-5533521596008018393m_-46584537= 58191436845m_4561654010907287049m_-4798312560682989803m_-504255666551970673= 9m_3440269965916649927styled-by-prettify m_-5533521596008018393m_-465845375= 8191436845m_4561654010907287049m_-4798312560682989803gmail_msg m_-553352159= 6008018393m_-4658453758191436845gmail_msg">Boolean</span><span style=3D"col= or:#000" class=3D"m_-5533521596008018393m_-4658453758191436845m_45616540109= 07287049m_-4798312560682989803m_-5042556665519706739m_3440269965916649927st= yled-by-prettify m_-5533521596008018393m_-4658453758191436845m_456165401090= 7287049m_-4798312560682989803gmail_msg m_-5533521596008018393m_-46584537581= 91436845gmail_msg"> </span><span style=3D"color:#660" class=3D"m_-553352159= 6008018393m_-4658453758191436845m_4561654010907287049m_-4798312560682989803= m_-5042556665519706739m_3440269965916649927styled-by-prettify m_-5533521596= 008018393m_-4658453758191436845m_4561654010907287049m_-4798312560682989803g= mail_msg m_-5533521596008018393m_-4658453758191436845gmail_msg">=3D</span><= span style=3D"color:#000" class=3D"m_-5533521596008018393m_-465845375819143= 6845m_4561654010907287049m_-4798312560682989803m_-5042556665519706739m_3440= 269965916649927styled-by-prettify m_-5533521596008018393m_-4658453758191436= 845m_4561654010907287049m_-4798312560682989803gmail_msg m_-5533521596008018= 393m_-4658453758191436845gmail_msg"> </span><span style=3D"color:#008" clas= s=3D"m_-5533521596008018393m_-4658453758191436845m_4561654010907287049m_-47= 98312560682989803m_-5042556665519706739m_3440269965916649927styled-by-prett= ify m_-5533521596008018393m_-4658453758191436845m_4561654010907287049m_-479= 8312560682989803gmail_msg m_-5533521596008018393m_-4658453758191436845gmail= _msg">false</span></div></code></div><div class=3D"m_-5533521596008018393m_= -4658453758191436845m_4561654010907287049m_-4798312560682989803gmail_msg m_= -5533521596008018393m_-4658453758191436845gmail_msg"><br class=3D"m_-553352= 1596008018393m_-4658453758191436845m_4561654010907287049m_-4798312560682989= 803gmail_msg m_-5533521596008018393m_-4658453758191436845gmail_msg"></div><= /div><div class=3D"m_-5533521596008018393m_-4658453758191436845m_4561654010= 907287049m_-4798312560682989803gmail_msg m_-5533521596008018393m_-465845375= 8191436845gmail_msg">My feeling is that mapping the identity function over = any collection should not change anything.</div><div class=3D"m_-5533521596= 008018393m_-4658453758191436845m_4561654010907287049m_-4798312560682989803g= mail_msg m_-5533521596008018393m_-4658453758191436845gmail_msg"><br class= =3D"m_-5533521596008018393m_-4658453758191436845m_4561654010907287049m_-479= 8312560682989803gmail_msg m_-5533521596008018393m_-4658453758191436845gmail= _msg"></div><div class=3D"m_-5533521596008018393m_-4658453758191436845m_456= 1654010907287049m_-4798312560682989803gmail_msg m_-5533521596008018393m_-46= 58453758191436845gmail_msg">In this case it is clear what is happening. The= CanBuildFrom provided by SortedSet is pulling an Ordering instance out of = predef (Ordering.Int) instead of using the ordering from the origin collect= ion.</div><div class=3D"m_-5533521596008018393m_-4658453758191436845m_45616= 54010907287049m_-4798312560682989803m_-5042556665519706739m_344026996591664= 9927prettyprint m_-5533521596008018393m_-4658453758191436845m_4561654010907= 287049m_-4798312560682989803gmail_msg m_-5533521596008018393m_-465845375819= 1436845gmail_msg" style=3D"background-color:rgb(250,250,250);border-color:r= gb(187,187,187);border-style:solid;border-width:1px;word-wrap:break-word"><= code class=3D"m_-5533521596008018393m_-4658453758191436845m_456165401090728= 7049m_-4798312560682989803m_-5042556665519706739m_3440269965916649927pretty= print m_-5533521596008018393m_-4658453758191436845m_4561654010907287049m_-4= 798312560682989803gmail_msg m_-5533521596008018393m_-4658453758191436845gma= il_msg"><div class=3D"m_-5533521596008018393m_-4658453758191436845m_4561654= 010907287049m_-4798312560682989803m_-5042556665519706739m_34402699659166499= 27subprettyprint m_-5533521596008018393m_-4658453758191436845m_456165401090= 7287049m_-4798312560682989803gmail_msg m_-5533521596008018393m_-46584537581= 91436845gmail_msg"><span style=3D"color:#000" class=3D"m_-55335215960080183= 93m_-4658453758191436845m_4561654010907287049m_-4798312560682989803m_-50425= 56665519706739m_3440269965916649927styled-by-prettify m_-553352159600801839= 3m_-4658453758191436845m_4561654010907287049m_-4798312560682989803gmail_msg= m_-5533521596008018393m_-4658453758191436845gmail_msg">scala</span><span s= tyle=3D"color:#660" class=3D"m_-5533521596008018393m_-4658453758191436845m_= 4561654010907287049m_-4798312560682989803m_-5042556665519706739m_3440269965= 916649927styled-by-prettify m_-5533521596008018393m_-4658453758191436845m_4= 561654010907287049m_-4798312560682989803gmail_msg m_-5533521596008018393m_-= 4658453758191436845gmail_msg">></span><span style=3D"color:#000" class= =3D"m_-5533521596008018393m_-4658453758191436845m_4561654010907287049m_-479= 8312560682989803m_-5042556665519706739m_3440269965916649927styled-by-pretti= fy m_-5533521596008018393m_-4658453758191436845m_4561654010907287049m_-4798= 312560682989803gmail_msg m_-5533521596008018393m_-4658453758191436845gmail_= msg"> </span><span style=3D"color:#008" class=3D"m_-5533521596008018393m_-4= 658453758191436845m_4561654010907287049m_-4798312560682989803m_-50425566655= 19706739m_3440269965916649927styled-by-prettify m_-5533521596008018393m_-46= 58453758191436845m_4561654010907287049m_-4798312560682989803gmail_msg m_-55= 33521596008018393m_-4658453758191436845gmail_msg">set</span><span style=3D"= color:#660" class=3D"m_-5533521596008018393m_-4658453758191436845m_45616540= 10907287049m_-4798312560682989803m_-5042556665519706739m_344026996591664992= 7styled-by-prettify m_-5533521596008018393m_-4658453758191436845m_456165401= 0907287049m_-4798312560682989803gmail_msg m_-5533521596008018393m_-46584537= 58191436845gmail_msg">.</span><span style=3D"color:#000" class=3D"m_-553352= 1596008018393m_-4658453758191436845m_4561654010907287049m_-4798312560682989= 803m_-5042556665519706739m_3440269965916649927styled-by-prettify m_-5533521= 596008018393m_-4658453758191436845m_4561654010907287049m_-47983125606829898= 03gmail_msg m_-5533521596008018393m_-4658453758191436845gmail_msg">toList<b= r class=3D"m_-5533521596008018393m_-4658453758191436845m_456165401090728704= 9m_-4798312560682989803gmail_msg m_-5533521596008018393m_-46584537581914368= 45gmail_msg">res1</span><span style=3D"color:#660" class=3D"m_-553352159600= 8018393m_-4658453758191436845m_4561654010907287049m_-4798312560682989803m_-= 5042556665519706739m_3440269965916649927styled-by-prettify m_-5533521596008= 018393m_-4658453758191436845m_4561654010907287049m_-4798312560682989803gmai= l_msg m_-5533521596008018393m_-4658453758191436845gmail_msg">:</span><span = style=3D"color:#000" class=3D"m_-5533521596008018393m_-4658453758191436845m= _4561654010907287049m_-4798312560682989803m_-5042556665519706739m_344026996= 5916649927styled-by-prettify m_-5533521596008018393m_-4658453758191436845m_= 4561654010907287049m_-4798312560682989803gmail_msg m_-5533521596008018393m_= -4658453758191436845gmail_msg"> </span><span style=3D"color:#606" class=3D"= m_-5533521596008018393m_-4658453758191436845m_4561654010907287049m_-4798312= 560682989803m_-5042556665519706739m_3440269965916649927styled-by-prettify m= _-5533521596008018393m_-4658453758191436845m_4561654010907287049m_-47983125= 60682989803gmail_msg m_-5533521596008018393m_-4658453758191436845gmail_msg"= >List</span><span style=3D"color:#660" class=3D"m_-5533521596008018393m_-46= 58453758191436845m_4561654010907287049m_-4798312560682989803m_-504255666551= 9706739m_3440269965916649927styled-by-prettify m_-5533521596008018393m_-465= 8453758191436845m_4561654010907287049m_-4798312560682989803gmail_msg m_-553= 3521596008018393m_-4658453758191436845gmail_msg">[</span><span style=3D"col= or:#606" class=3D"m_-5533521596008018393m_-4658453758191436845m_45616540109= 07287049m_-4798312560682989803m_-5042556665519706739m_3440269965916649927st= yled-by-prettify m_-5533521596008018393m_-4658453758191436845m_456165401090= 7287049m_-4798312560682989803gmail_msg m_-5533521596008018393m_-46584537581= 91436845gmail_msg">Int</span><span style=3D"color:#660" class=3D"m_-5533521= 596008018393m_-4658453758191436845m_4561654010907287049m_-47983125606829898= 03m_-5042556665519706739m_3440269965916649927styled-by-prettify m_-55335215= 96008018393m_-4658453758191436845m_4561654010907287049m_-479831256068298980= 3gmail_msg m_-5533521596008018393m_-4658453758191436845gmail_msg">]</span><= span style=3D"color:#000" class=3D"m_-5533521596008018393m_-465845375819143= 6845m_4561654010907287049m_-4798312560682989803m_-5042556665519706739m_3440= 269965916649927styled-by-prettify m_-5533521596008018393m_-4658453758191436= 845m_4561654010907287049m_-4798312560682989803gmail_msg m_-5533521596008018= 393m_-4658453758191436845gmail_msg"> </span><span style=3D"color:#660" clas= s=3D"m_-5533521596008018393m_-4658453758191436845m_4561654010907287049m_-47= 98312560682989803m_-5042556665519706739m_3440269965916649927styled-by-prett= ify m_-5533521596008018393m_-4658453758191436845m_4561654010907287049m_-479= 8312560682989803gmail_msg m_-5533521596008018393m_-4658453758191436845gmail= _msg">=3D</span><span style=3D"color:#000" class=3D"m_-5533521596008018393m= _-4658453758191436845m_4561654010907287049m_-4798312560682989803m_-50425566= 65519706739m_3440269965916649927styled-by-prettify m_-5533521596008018393m_= -4658453758191436845m_4561654010907287049m_-4798312560682989803gmail_msg m_= -5533521596008018393m_-4658453758191436845gmail_msg"> </span><span style=3D= "color:#606" class=3D"m_-5533521596008018393m_-4658453758191436845m_4561654= 010907287049m_-4798312560682989803m_-5042556665519706739m_34402699659166499= 27styled-by-prettify m_-5533521596008018393m_-4658453758191436845m_45616540= 10907287049m_-4798312560682989803gmail_msg m_-5533521596008018393m_-4658453= 758191436845gmail_msg">List</span><span style=3D"color:#660" class=3D"m_-55= 33521596008018393m_-4658453758191436845m_4561654010907287049m_-479831256068= 2989803m_-5042556665519706739m_3440269965916649927styled-by-prettify m_-553= 3521596008018393m_-4658453758191436845m_4561654010907287049m_-4798312560682= 989803gmail_msg m_-5533521596008018393m_-4658453758191436845gmail_msg">(</s= pan><span style=3D"color:#066" class=3D"m_-5533521596008018393m_-4658453758= 191436845m_4561654010907287049m_-4798312560682989803m_-5042556665519706739m= _3440269965916649927styled-by-prettify m_-5533521596008018393m_-46584537581= 91436845m_4561654010907287049m_-4798312560682989803gmail_msg m_-55335215960= 08018393m_-4658453758191436845gmail_msg">3</span><span style=3D"color:#660"= class=3D"m_-5533521596008018393m_-4658453758191436845m_4561654010907287049= m_-4798312560682989803m_-5042556665519706739m_3440269965916649927styled-by-= prettify m_-5533521596008018393m_-4658453758191436845m_4561654010907287049m= _-4798312560682989803gmail_msg m_-5533521596008018393m_-4658453758191436845= gmail_msg">,</span><span style=3D"color:#000" class=3D"m_-55335215960080183= 93m_-4658453758191436845m_4561654010907287049m_-4798312560682989803m_-50425= 56665519706739m_3440269965916649927styled-by-prettify m_-553352159600801839= 3m_-4658453758191436845m_4561654010907287049m_-4798312560682989803gmail_msg= m_-5533521596008018393m_-4658453758191436845gmail_msg"> </span><span style= =3D"color:#066" class=3D"m_-5533521596008018393m_-4658453758191436845m_4561= 654010907287049m_-4798312560682989803m_-5042556665519706739m_34402699659166= 49927styled-by-prettify m_-5533521596008018393m_-4658453758191436845m_45616= 54010907287049m_-4798312560682989803gmail_msg m_-5533521596008018393m_-4658= 453758191436845gmail_msg">2</span><span style=3D"color:#660" class=3D"m_-55= 33521596008018393m_-4658453758191436845m_4561654010907287049m_-479831256068= 2989803m_-5042556665519706739m_3440269965916649927styled-by-prettify m_-553= 3521596008018393m_-4658453758191436845m_4561654010907287049m_-4798312560682= 989803gmail_msg m_-5533521596008018393m_-4658453758191436845gmail_msg">,</s= pan><span style=3D"color:#000" class=3D"m_-5533521596008018393m_-4658453758= 191436845m_4561654010907287049m_-4798312560682989803m_-5042556665519706739m= _3440269965916649927styled-by-prettify m_-5533521596008018393m_-46584537581= 91436845m_4561654010907287049m_-4798312560682989803gmail_msg m_-55335215960= 08018393m_-4658453758191436845gmail_msg"> </span><span style=3D"color:#066"= class=3D"m_-5533521596008018393m_-4658453758191436845m_4561654010907287049= m_-4798312560682989803m_-5042556665519706739m_3440269965916649927styled-by-= prettify m_-5533521596008018393m_-4658453758191436845m_4561654010907287049m= _-4798312560682989803gmail_msg m_-5533521596008018393m_-4658453758191436845= gmail_msg">1</span><span style=3D"color:#660" class=3D"m_-55335215960080183= 93m_-4658453758191436845m_4561654010907287049m_-4798312560682989803m_-50425= 56665519706739m_3440269965916649927styled-by-prettify m_-553352159600801839= 3m_-4658453758191436845m_4561654010907287049m_-4798312560682989803gmail_msg= m_-5533521596008018393m_-4658453758191436845gmail_msg">)</span><span style= =3D"color:#000" class=3D"m_-5533521596008018393m_-4658453758191436845m_4561= 654010907287049m_-4798312560682989803m_-5042556665519706739m_34402699659166= 49927styled-by-prettify m_-5533521596008018393m_-4658453758191436845m_45616= 54010907287049m_-4798312560682989803gmail_msg m_-5533521596008018393m_-4658= 453758191436845gmail_msg"><br class=3D"m_-5533521596008018393m_-46584537581= 91436845m_4561654010907287049m_-4798312560682989803gmail_msg m_-55335215960= 08018393m_-4658453758191436845gmail_msg"><br class=3D"m_-553352159600801839= 3m_-4658453758191436845m_4561654010907287049m_-4798312560682989803gmail_msg= m_-5533521596008018393m_-4658453758191436845gmail_msg"><br class=3D"m_-553= 3521596008018393m_-4658453758191436845m_4561654010907287049m_-4798312560682= 989803gmail_msg m_-5533521596008018393m_-4658453758191436845gmail_msg">scal= a</span><span style=3D"color:#660" class=3D"m_-5533521596008018393m_-465845= 3758191436845m_4561654010907287049m_-4798312560682989803m_-5042556665519706= 739m_3440269965916649927styled-by-prettify m_-5533521596008018393m_-4658453= 758191436845m_4561654010907287049m_-4798312560682989803gmail_msg m_-5533521= 596008018393m_-4658453758191436845gmail_msg">></span><span style=3D"colo= r:#000" class=3D"m_-5533521596008018393m_-4658453758191436845m_456165401090= 7287049m_-4798312560682989803m_-5042556665519706739m_3440269965916649927sty= led-by-prettify m_-5533521596008018393m_-4658453758191436845m_4561654010907= 287049m_-4798312560682989803gmail_msg m_-5533521596008018393m_-465845375819= 1436845gmail_msg"> </span><span style=3D"color:#008" class=3D"m_-5533521596= 008018393m_-4658453758191436845m_4561654010907287049m_-4798312560682989803m= _-5042556665519706739m_3440269965916649927styled-by-prettify m_-55335215960= 08018393m_-4658453758191436845m_4561654010907287049m_-4798312560682989803gm= ail_msg m_-5533521596008018393m_-4658453758191436845gmail_msg">set</span><s= pan style=3D"color:#660" class=3D"m_-5533521596008018393m_-4658453758191436= 845m_4561654010907287049m_-4798312560682989803m_-5042556665519706739m_34402= 69965916649927styled-by-prettify m_-5533521596008018393m_-46584537581914368= 45m_4561654010907287049m_-4798312560682989803gmail_msg m_-55335215960080183= 93m_-4658453758191436845gmail_msg">.</span><span style=3D"color:#000" class= =3D"m_-5533521596008018393m_-4658453758191436845m_4561654010907287049m_-479= 8312560682989803m_-5042556665519706739m_3440269965916649927styled-by-pretti= fy m_-5533521596008018393m_-4658453758191436845m_4561654010907287049m_-4798= 312560682989803gmail_msg m_-5533521596008018393m_-4658453758191436845gmail_= msg">map</span><span style=3D"color:#660" class=3D"m_-5533521596008018393m_= -4658453758191436845m_4561654010907287049m_-4798312560682989803m_-504255666= 5519706739m_3440269965916649927styled-by-prettify m_-5533521596008018393m_-= 4658453758191436845m_4561654010907287049m_-4798312560682989803gmail_msg m_-= 5533521596008018393m_-4658453758191436845gmail_msg">(</span><span style=3D"= color:#000" class=3D"m_-5533521596008018393m_-4658453758191436845m_45616540= 10907287049m_-4798312560682989803m_-5042556665519706739m_344026996591664992= 7styled-by-prettify m_-5533521596008018393m_-4658453758191436845m_456165401= 0907287049m_-4798312560682989803gmail_msg m_-5533521596008018393m_-46584537= 58191436845gmail_msg">identity</span><span style=3D"color:#660" class=3D"m_= -5533521596008018393m_-4658453758191436845m_4561654010907287049m_-479831256= 0682989803m_-5042556665519706739m_3440269965916649927styled-by-prettify m_-= 5533521596008018393m_-4658453758191436845m_4561654010907287049m_-4798312560= 682989803gmail_msg m_-5533521596008018393m_-4658453758191436845gmail_msg">)= .</span><span style=3D"color:#000" class=3D"m_-5533521596008018393m_-465845= 3758191436845m_4561654010907287049m_-4798312560682989803m_-5042556665519706= 739m_3440269965916649927styled-by-prettify m_-5533521596008018393m_-4658453= 758191436845m_4561654010907287049m_-4798312560682989803gmail_msg m_-5533521= 596008018393m_-4658453758191436845gmail_msg">toList<br class=3D"m_-55335215= 96008018393m_-4658453758191436845m_4561654010907287049m_-479831256068298980= 3gmail_msg m_-5533521596008018393m_-4658453758191436845gmail_msg">res2</spa= n><span style=3D"color:#660" class=3D"m_-5533521596008018393m_-465845375819= 1436845m_4561654010907287049m_-4798312560682989803m_-5042556665519706739m_3= 440269965916649927styled-by-prettify m_-5533521596008018393m_-4658453758191= 436845m_4561654010907287049m_-4798312560682989803gmail_msg m_-5533521596008= 018393m_-4658453758191436845gmail_msg">:</span><span style=3D"color:#000" c= lass=3D"m_-5533521596008018393m_-4658453758191436845m_4561654010907287049m_= -4798312560682989803m_-5042556665519706739m_3440269965916649927styled-by-pr= ettify m_-5533521596008018393m_-4658453758191436845m_4561654010907287049m_-= 4798312560682989803gmail_msg m_-5533521596008018393m_-4658453758191436845gm= ail_msg"> </span><span style=3D"color:#606" class=3D"m_-5533521596008018393= m_-4658453758191436845m_4561654010907287049m_-4798312560682989803m_-5042556= 665519706739m_3440269965916649927styled-by-prettify m_-5533521596008018393m= _-4658453758191436845m_4561654010907287049m_-4798312560682989803gmail_msg m= _-5533521596008018393m_-4658453758191436845gmail_msg">List</span><span styl= e=3D"color:#660" class=3D"m_-5533521596008018393m_-4658453758191436845m_456= 1654010907287049m_-4798312560682989803m_-5042556665519706739m_3440269965916= 649927styled-by-prettify m_-5533521596008018393m_-4658453758191436845m_4561= 654010907287049m_-4798312560682989803gmail_msg m_-5533521596008018393m_-465= 8453758191436845gmail_msg">[</span><span style=3D"color:#606" class=3D"m_-5= 533521596008018393m_-4658453758191436845m_4561654010907287049m_-47983125606= 82989803m_-5042556665519706739m_3440269965916649927styled-by-prettify m_-55= 33521596008018393m_-4658453758191436845m_4561654010907287049m_-479831256068= 2989803gmail_msg m_-5533521596008018393m_-4658453758191436845gmail_msg">Int= </span><span style=3D"color:#660" class=3D"m_-5533521596008018393m_-4658453= 758191436845m_4561654010907287049m_-4798312560682989803m_-50425566655197067= 39m_3440269965916649927styled-by-prettify m_-5533521596008018393m_-46584537= 58191436845m_4561654010907287049m_-4798312560682989803gmail_msg m_-55335215= 96008018393m_-4658453758191436845gmail_msg">]</span><span style=3D"color:#0= 00" class=3D"m_-5533521596008018393m_-4658453758191436845m_4561654010907287= 049m_-4798312560682989803m_-5042556665519706739m_3440269965916649927styled-= by-prettify m_-5533521596008018393m_-4658453758191436845m_45616540109072870= 49m_-4798312560682989803gmail_msg m_-5533521596008018393m_-4658453758191436= 845gmail_msg"> </span><span style=3D"color:#660" class=3D"m_-55335215960080= 18393m_-4658453758191436845m_4561654010907287049m_-4798312560682989803m_-50= 42556665519706739m_3440269965916649927styled-by-prettify m_-553352159600801= 8393m_-4658453758191436845m_4561654010907287049m_-4798312560682989803gmail_= msg m_-5533521596008018393m_-4658453758191436845gmail_msg">=3D</span><span = style=3D"color:#000" class=3D"m_-5533521596008018393m_-4658453758191436845m= _4561654010907287049m_-4798312560682989803m_-5042556665519706739m_344026996= 5916649927styled-by-prettify m_-5533521596008018393m_-4658453758191436845m_= 4561654010907287049m_-4798312560682989803gmail_msg m_-5533521596008018393m_= -4658453758191436845gmail_msg"> </span><span style=3D"color:#606" class=3D"= m_-5533521596008018393m_-4658453758191436845m_4561654010907287049m_-4798312= 560682989803m_-5042556665519706739m_3440269965916649927styled-by-prettify m= _-5533521596008018393m_-4658453758191436845m_4561654010907287049m_-47983125= 60682989803gmail_msg m_-5533521596008018393m_-4658453758191436845gmail_msg"= >List</span><span style=3D"color:#660" class=3D"m_-5533521596008018393m_-46= 58453758191436845m_4561654010907287049m_-4798312560682989803m_-504255666551= 9706739m_3440269965916649927styled-by-prettify m_-5533521596008018393m_-465= 8453758191436845m_4561654010907287049m_-4798312560682989803gmail_msg m_-553= 3521596008018393m_-4658453758191436845gmail_msg">(</span><span style=3D"col= or:#066" class=3D"m_-5533521596008018393m_-4658453758191436845m_45616540109= 07287049m_-4798312560682989803m_-5042556665519706739m_3440269965916649927st= yled-by-prettify m_-5533521596008018393m_-4658453758191436845m_456165401090= 7287049m_-4798312560682989803gmail_msg m_-5533521596008018393m_-46584537581= 91436845gmail_msg">1</span><span style=3D"color:#660" class=3D"m_-553352159= 6008018393m_-4658453758191436845m_4561654010907287049m_-4798312560682989803= m_-5042556665519706739m_3440269965916649927styled-by-prettify m_-5533521596= 008018393m_-4658453758191436845m_4561654010907287049m_-4798312560682989803g= mail_msg m_-5533521596008018393m_-4658453758191436845gmail_msg">,</span><sp= an style=3D"color:#000" class=3D"m_-5533521596008018393m_-46584537581914368= 45m_4561654010907287049m_-4798312560682989803m_-5042556665519706739m_344026= 9965916649927styled-by-prettify m_-5533521596008018393m_-465845375819143684= 5m_4561654010907287049m_-4798312560682989803gmail_msg m_-553352159600801839= 3m_-4658453758191436845gmail_msg"> </span><span style=3D"color:#066" class= =3D"m_-5533521596008018393m_-4658453758191436845m_4561654010907287049m_-479= 8312560682989803m_-5042556665519706739m_3440269965916649927styled-by-pretti= fy m_-5533521596008018393m_-4658453758191436845m_4561654010907287049m_-4798= 312560682989803gmail_msg m_-5533521596008018393m_-4658453758191436845gmail_= msg">2</span><span style=3D"color:#660" class=3D"m_-5533521596008018393m_-4= 658453758191436845m_4561654010907287049m_-4798312560682989803m_-50425566655= 19706739m_3440269965916649927styled-by-prettify m_-5533521596008018393m_-46= 58453758191436845m_4561654010907287049m_-4798312560682989803gmail_msg m_-55= 33521596008018393m_-4658453758191436845gmail_msg">,</span><span style=3D"co= lor:#000" class=3D"m_-5533521596008018393m_-4658453758191436845m_4561654010= 907287049m_-4798312560682989803m_-5042556665519706739m_3440269965916649927s= tyled-by-prettify m_-5533521596008018393m_-4658453758191436845m_45616540109= 07287049m_-4798312560682989803gmail_msg m_-5533521596008018393m_-4658453758= 191436845gmail_msg"> </span><span style=3D"color:#066" class=3D"m_-55335215= 96008018393m_-4658453758191436845m_4561654010907287049m_-479831256068298980= 3m_-5042556665519706739m_3440269965916649927styled-by-prettify m_-553352159= 6008018393m_-4658453758191436845m_4561654010907287049m_-4798312560682989803= gmail_msg m_-5533521596008018393m_-4658453758191436845gmail_msg">3</span><s= pan style=3D"color:#660" class=3D"m_-5533521596008018393m_-4658453758191436= 845m_4561654010907287049m_-4798312560682989803m_-5042556665519706739m_34402= 69965916649927styled-by-prettify m_-5533521596008018393m_-46584537581914368= 45m_4561654010907287049m_-4798312560682989803gmail_msg m_-55335215960080183= 93m_-4658453758191436845gmail_msg">)</span><span style=3D"color:#000" class= =3D"m_-5533521596008018393m_-4658453758191436845m_4561654010907287049m_-479= 8312560682989803m_-5042556665519706739m_3440269965916649927styled-by-pretti= fy m_-5533521596008018393m_-4658453758191436845m_4561654010907287049m_-4798= 312560682989803gmail_msg m_-5533521596008018393m_-4658453758191436845gmail_= msg"><br class=3D"m_-5533521596008018393m_-4658453758191436845m_45616540109= 07287049m_-4798312560682989803gmail_msg m_-5533521596008018393m_-4658453758= 191436845gmail_msg"><br class=3D"m_-5533521596008018393m_-46584537581914368= 45m_4561654010907287049m_-4798312560682989803gmail_msg m_-55335215960080183= 93m_-4658453758191436845gmail_msg"></span><span class=3D"m_-553352159600801= 8393m_-4658453758191436845m_4561654010907287049m_-4798312560682989803m_-504= 2556665519706739m_3440269965916649927styled-by-prettify m_-5533521596008018= 393m_-4658453758191436845m_4561654010907287049m_-4798312560682989803gmail_m= sg m_-5533521596008018393m_-4658453758191436845gmail_msg"><font class=3D"m_= -5533521596008018393m_-4658453758191436845m_4561654010907287049m_-479831256= 0682989803gmail_msg m_-5533521596008018393m_-4658453758191436845gmail_msg" = color=3D"#000000"><div class=3D"m_-5533521596008018393m_-465845375819143684= 5m_4561654010907287049m_-4798312560682989803m_-5042556665519706739m_3440269= 965916649927subprettyprint m_-5533521596008018393m_-4658453758191436845m_45= 61654010907287049m_-4798312560682989803gmail_msg m_-5533521596008018393m_-4= 658453758191436845gmail_msg">scala> set.ordering</div><div class=3D"m_-5= 533521596008018393m_-4658453758191436845m_4561654010907287049m_-47983125606= 82989803m_-5042556665519706739m_3440269965916649927subprettyprint m_-553352= 1596008018393m_-4658453758191436845m_4561654010907287049m_-4798312560682989= 803gmail_msg m_-5533521596008018393m_-4658453758191436845gmail_msg">res3: O= rdering[Int] =3D scala.math.Ordering$$anon$4@3f<wbr>f3275b</div><div class= =3D"m_-5533521596008018393m_-4658453758191436845m_4561654010907287049m_-479= 8312560682989803m_-5042556665519706739m_3440269965916649927subprettyprint m= _-5533521596008018393m_-4658453758191436845m_4561654010907287049m_-47983125= 60682989803gmail_msg m_-5533521596008018393m_-4658453758191436845gmail_msg"= ><br class=3D"m_-5533521596008018393m_-4658453758191436845m_456165401090728= 7049m_-4798312560682989803gmail_msg m_-5533521596008018393m_-46584537581914= 36845gmail_msg"></div><div class=3D"m_-5533521596008018393m_-46584537581914= 36845m_4561654010907287049m_-4798312560682989803m_-5042556665519706739m_344= 0269965916649927subprettyprint m_-5533521596008018393m_-4658453758191436845= m_4561654010907287049m_-4798312560682989803gmail_msg m_-5533521596008018393= m_-4658453758191436845gmail_msg">scala> set.map(identity).ordering</div>= <div class=3D"m_-5533521596008018393m_-4658453758191436845m_456165401090728= 7049m_-4798312560682989803m_-5042556665519706739m_3440269965916649927subpre= ttyprint m_-5533521596008018393m_-4658453758191436845m_4561654010907287049m= _-4798312560682989803gmail_msg m_-5533521596008018393m_-4658453758191436845= gmail_msg">res4: Ordering[Int] =3D scala.math.Ordering$Int$@7fa85<wbr>a55</= div></font></span></div></code></div><div class=3D"m_-5533521596008018393m_= -4658453758191436845m_4561654010907287049m_-4798312560682989803gmail_msg m_= -5533521596008018393m_-4658453758191436845gmail_msg"><div class=3D"m_-55335= 21596008018393m_-4658453758191436845m_4561654010907287049m_-479831256068298= 9803gmail_msg m_-5533521596008018393m_-4658453758191436845gmail_msg"><br cl= ass=3D"m_-5533521596008018393m_-4658453758191436845m_4561654010907287049m_-= 4798312560682989803gmail_msg m_-5533521596008018393m_-4658453758191436845gm= ail_msg"></div><div class=3D"m_-5533521596008018393m_-4658453758191436845m_= 4561654010907287049m_-4798312560682989803gmail_msg m_-5533521596008018393m_= -4658453758191436845gmail_msg">I think this can be fixed by providing a mor= e specific CanBuildFrom instance to be used when mapping between two sorted= collections that contain the same type.</div></div><div class=3D"m_-553352= 1596008018393m_-4658453758191436845m_4561654010907287049m_-4798312560682989= 803gmail_msg m_-5533521596008018393m_-4658453758191436845gmail_msg"><br cla= ss=3D"m_-5533521596008018393m_-4658453758191436845m_4561654010907287049m_-4= 798312560682989803gmail_msg m_-5533521596008018393m_-4658453758191436845gma= il_msg"></div><div class=3D"m_-5533521596008018393m_-4658453758191436845m_4= 561654010907287049m_-4798312560682989803gmail_msg m_-5533521596008018393m_-= 4658453758191436845gmail_msg">i.e. Provide a CanBuildFrom[Sorted[K, _], K, = Sorted[K, _]] somewhere that has precedence over the more generic usual Can= BuildFrom[CC[_], A, CC[A]]</div><div class=3D"m_-5533521596008018393m_-4658= 453758191436845m_4561654010907287049m_-4798312560682989803gmail_msg m_-5533= 521596008018393m_-4658453758191436845gmail_msg"><br class=3D"m_-55335215960= 08018393m_-4658453758191436845m_4561654010907287049m_-4798312560682989803gm= ail_msg m_-5533521596008018393m_-4658453758191436845gmail_msg"></div><div c= lass=3D"m_-5533521596008018393m_-4658453758191436845m_4561654010907287049m_= -4798312560682989803gmail_msg m_-5533521596008018393m_-4658453758191436845g= mail_msg">I'm not sure how it could be done, but the static overloading= resolution rules make this possible, I think.</div></div></blockquote></di= v></div><div class=3D"gmail_extra m_-5533521596008018393m_-4658453758191436= 845m_4561654010907287049m_-4798312560682989803gmail_msg m_-5533521596008018= 393m_-4658453758191436845gmail_msg"><div class=3D"gmail_quote m_-5533521596= 008018393m_-4658453758191436845m_4561654010907287049m_-4798312560682989803g= mail_msg m_-5533521596008018393m_-4658453758191436845gmail_msg"><blockquote= class=3D"gmail_quote m_-5533521596008018393m_-4658453758191436845m_4561654= 010907287049m_-4798312560682989803gmail_msg m_-5533521596008018393m_-465845= 3758191436845gmail_msg" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc sol= id;padding-left:1ex"><span class=3D"m_-5533521596008018393m_-46584537581914= 36845m_4561654010907287049m_-4798312560682989803m_-5042556665519706739HOEnZ= b m_-5533521596008018393m_-4658453758191436845m_4561654010907287049m_-47983= 12560682989803gmail_msg m_-5533521596008018393m_-4658453758191436845gmail_m= sg"><font class=3D"m_-5533521596008018393m_-4658453758191436845m_4561654010= 907287049m_-4798312560682989803gmail_msg m_-5533521596008018393m_-465845375= 8191436845gmail_msg" color=3D"#888888"> <p class=3D"m_-5533521596008018393m_-4658453758191436845m_45616540109072870= 49m_-4798312560682989803gmail_msg m_-5533521596008018393m_-4658453758191436= 845gmail_msg"></p> -- <br class=3D"m_-5533521596008018393m_-4658453758191436845m_4561654010907= 287049m_-4798312560682989803gmail_msg m_-5533521596008018393m_-465845375819= 1436845gmail_msg"> You received this message because you are subscribed to the Google Groups &= quot;scala-language" group.<br class=3D"m_-5533521596008018393m_-46584= 53758191436845m_4561654010907287049m_-4798312560682989803gmail_msg m_-55335= 21596008018393m_-4658453758191436845gmail_msg"> To unsubscribe from this group and stop receiving emails from it, send an e= mail to <a href=3D"mailto:[email protected]" clas= s=3D"m_-5533521596008018393m_-4658453758191436845m_4561654010907287049m_-47= 98312560682989803gmail_msg m_-5533521596008018393m_-4658453758191436845gmai= l_msg" target=3D"_blank">scala-language+unsubscribe@goo<wbr>glegroups.com</= a>.</font></span></blockquote></div></div><div class=3D"gmail_extra m_-5533= 521596008018393m_-4658453758191436845m_4561654010907287049m_-47983125606829= 89803gmail_msg m_-5533521596008018393m_-4658453758191436845gmail_msg"><div = class=3D"gmail_quote m_-5533521596008018393m_-4658453758191436845m_45616540= 10907287049m_-4798312560682989803gmail_msg m_-5533521596008018393m_-4658453= 758191436845gmail_msg"><blockquote class=3D"gmail_quote m_-5533521596008018= 393m_-4658453758191436845m_4561654010907287049m_-4798312560682989803gmail_m= sg m_-5533521596008018393m_-4658453758191436845gmail_msg" style=3D"margin:0= 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=3D"m_-55= 33521596008018393m_-4658453758191436845m_4561654010907287049m_-479831256068= 2989803m_-5042556665519706739HOEnZb m_-5533521596008018393m_-46584537581914= 36845m_4561654010907287049m_-4798312560682989803gmail_msg m_-55335215960080= 18393m_-4658453758191436845gmail_msg"><font class=3D"m_-5533521596008018393= m_-4658453758191436845m_4561654010907287049m_-4798312560682989803gmail_msg = m_-5533521596008018393m_-4658453758191436845gmail_msg" color=3D"#888888"><b= r class=3D"m_-5533521596008018393m_-4658453758191436845m_456165401090728704= 9m_-4798312560682989803gmail_msg m_-5533521596008018393m_-46584537581914368= 45gmail_msg"> For more options, visit <a href=3D"https://groups.google.com/d/optout" clas= s=3D"m_-5533521596008018393m_-4658453758191436845m_4561654010907287049m_-47= 98312560682989803gmail_msg m_-5533521596008018393m_-4658453758191436845gmai= l_msg" target=3D"_blank">https://groups.google.com/d/op<wbr>tout</a>.<br cl= ass=3D"m_-5533521596008018393m_-4658453758191436845m_4561654010907287049m_-= 4798312560682989803gmail_msg m_-5533521596008018393m_-4658453758191436845gm= ail_msg"> </font></span></blockquote></div></div> <p class=3D"m_-5533521596008018393m_-4658453758191436845m_45616540109072870= 49m_-4798312560682989803gmail_msg m_-5533521596008018393m_-4658453758191436= 845gmail_msg"></p> -- <br class=3D"m_-5533521596008018393m_-4658453758191436845m_4561654010907= 287049m_-4798312560682989803gmail_msg m_-5533521596008018393m_-465845375819= 1436845gmail_msg"></div></div> You received this message because you are subscribed to a topic in the Goog= le Groups "scala-language" group.<br class=3D"m_-5533521596008018= 393m_-4658453758191436845m_4561654010907287049m_-4798312560682989803gmail_m= sg m_-5533521596008018393m_-4658453758191436845gmail_msg"> To unsubscribe from this topic, visit <a href=3D"https://groups.google.com/= d/topic/scala-language/Q5A1TTEZN4Q/unsubscribe" class=3D"m_-553352159600801= 8393m_-4658453758191436845m_4561654010907287049m_-4798312560682989803gmail_= msg m_-5533521596008018393m_-4658453758191436845gmail_msg" target=3D"_blank= ">https://groups.google.com/d/to<wbr>pic/scala-language/Q5A1TTEZN4Q<wbr>/un= subscribe</a>.<br class=3D"m_-5533521596008018393m_-4658453758191436845m_45= 61654010907287049m_-4798312560682989803gmail_msg m_-5533521596008018393m_-4= 658453758191436845gmail_msg"> To unsubscribe from this group and all its topics, send an email to <a href= =3D"mailto:[email protected]" class=3D"m_-5533521= 596008018393m_-4658453758191436845m_4561654010907287049m_-47983125606829898= 03gmail_msg m_-5533521596008018393m_-4658453758191436845gmail_msg" target= =3D"_blank">scala-language+unsubscribe@goo<wbr>glegroups.com</a>.<span clas= s=3D"m_-5533521596008018393m_-4658453758191436845gmail_msg"><br class=3D"m_= -5533521596008018393m_-4658453758191436845m_4561654010907287049m_-479831256= 0682989803gmail_msg m_-5533521596008018393m_-4658453758191436845gmail_msg"> For more options, visit <a href=3D"https://groups.google.com/d/optout" clas= s=3D"m_-5533521596008018393m_-4658453758191436845m_4561654010907287049m_-47= 98312560682989803gmail_msg m_-5533521596008018393m_-4658453758191436845gmai= l_msg" target=3D"_blank">https://groups.google.com/d/op<wbr>tout</a>.<br cl= ass=3D"m_-5533521596008018393m_-4658453758191436845m_4561654010907287049m_-= 4798312560682989803gmail_msg m_-5533521596008018393m_-4658453758191436845gm= ail_msg"> </span></blockquote></div><div class=3D"m_-5533521596008018393m_-4658453758= 191436845m_4561654010907287049HOEnZb m_-5533521596008018393m_-4658453758191= 436845gmail_msg"><div class=3D"m_-5533521596008018393m_-4658453758191436845= m_4561654010907287049h5 m_-5533521596008018393m_-4658453758191436845gmail_m= sg"> <p class=3D"m_-5533521596008018393m_-4658453758191436845gmail_msg"></p> -- <br class=3D"m_-5533521596008018393m_-4658453758191436845gmail_msg"> You received this message because you are subscribed to the Google Groups &= quot;scala-language" group.<br class=3D"m_-5533521596008018393m_-46584= 53758191436845gmail_msg"> To unsubscribe from this group and stop receiving emails from it, send an e= mail to <a href=3D"mailto:[email protected]" clas= s=3D"m_-5533521596008018393m_-4658453758191436845gmail_msg" target=3D"_blan= k">scala-language+unsubscribe@goo<wbr>glegroups.com</a>.<br class=3D"m_-553= 3521596008018393m_-4658453758191436845gmail_msg"> For more options, visit <a href=3D"https://groups.google.com/d/optout" clas= s=3D"m_-5533521596008018393m_-4658453758191436845gmail_msg" target=3D"_blan= k">https://groups.google.com/d/op<wbr>tout</a>.<br class=3D"m_-553352159600= 8018393m_-4658453758191436845gmail_msg"> </div></div></blockquote></div><br class=3D"m_-5533521596008018393m_-465845= 3758191436845gmail_msg"><br class=3D"m_-5533521596008018393m_-4658453758191= 436845gmail_msg" clear=3D"all"><br class=3D"m_-5533521596008018393m_-465845= 3758191436845gmail_msg">-- <br class=3D"m_-5533521596008018393m_-4658453758= 191436845gmail_msg"></div><div class=3D"gmail_extra m_-5533521596008018393m= _-4658453758191436845gmail_msg"><div class=3D"m_-5533521596008018393m_-4658= 453758191436845m_4561654010907287049gmail_signature m_-5533521596008018393m= _-4658453758191436845gmail_msg" data-smartmail=3D"gmail_signature"><div dir= =3D"ltr" class=3D"m_-5533521596008018393m_-4658453758191436845gmail_msg"><d= iv class=3D"m_-5533521596008018393m_-4658453758191436845gmail_msg"><div dir= =3D"ltr" class=3D"m_-5533521596008018393m_-4658453758191436845gmail_msg"><d= iv class=3D"m_-5533521596008018393m_-4658453758191436845gmail_msg"><div dir= =3D"ltr" class=3D"m_-5533521596008018393m_-4658453758191436845gmail_msg"><d= iv class=3D"m_-5533521596008018393m_-4658453758191436845gmail_msg"><div dir= =3D"ltr" class=3D"m_-5533521596008018393m_-4658453758191436845gmail_msg"><d= iv class=3D"m_-5533521596008018393m_-4658453758191436845gmail_msg">Oliver R= uebenacker<br class=3D"m_-5533521596008018393m_-4658453758191436845gmail_ms= g"></div><div class=3D"m_-5533521596008018393m_-4658453758191436845gmail_ms= g">Senior Software Engineer, <a href=3D"http://www.type2diabetesgenetics.or= g/" class=3D"m_-5533521596008018393m_-4658453758191436845gmail_msg" target= =3D"_blank">Diabetes Portal</a>, <a href=3D"http://www.broadinstitute.org/"= class=3D"m_-5533521596008018393m_-4658453758191436845gmail_msg" target=3D"= _blank">Broad Institute</a><br class=3D"m_-5533521596008018393m_-4658453758= 191436845gmail_msg"></div><br class=3D"m_-5533521596008018393m_-46584537581= 91436845gmail_msg"></div></div></div></div></div></div></div></div> </div> <p class=3D"m_-5533521596008018393m_-4658453758191436845gmail_msg"></p> -- <br class=3D"m_-5533521596008018393m_-4658453758191436845gmail_msg"> You received this message because you are subscribed to a topic in the Goog= le Groups "scala-language" group.<br class=3D"m_-5533521596008018= 393m_-4658453758191436845gmail_msg"> To unsubscribe from this topic, visit <a href=3D"https://groups.google.com/= d/topic/scala-language/Q5A1TTEZN4Q/unsubscribe" class=3D"m_-553352159600801= 8393m_-4658453758191436845gmail_msg" target=3D"_blank">https://groups.googl= e.com/d/to<wbr>pic/scala-language/Q5A1TTEZN4Q<wbr>/unsubscribe</a>.<br clas= s=3D"m_-5533521596008018393m_-4658453758191436845gmail_msg"> To unsubscribe from this group and all its topics, send an email to <a href= =3D"mailto:[email protected]" class=3D"m_-5533521= 596008018393m_-4658453758191436845gmail_msg" target=3D"_blank">scala-langua= ge+unsubscribe@goo<wbr>glegroups.com</a>.<br class=3D"m_-553352159600801839= 3m_-4658453758191436845gmail_msg"> For more options, visit <a href=3D"https://groups.google.com/d/optout" clas= s=3D"m_-5533521596008018393m_-4658453758191436845gmail_msg" target=3D"_blan= k">https://groups.google.com/d/op<wbr>tout</a>.<br class=3D"m_-553352159600= 8018393m_-4658453758191436845gmail_msg"> </blockquote></div> <p></p> -- <br> You received this message because you are subscribed to the Google Groups &= quot;scala-language" group.<br> To unsubscribe from this group and stop receiving emails from it, send an e= mail to <a href=3D"mailto:[email protected]" targ= et=3D"_blank">scala-language+unsubscribe@goo<wbr>glegroups.com</a>.<br> For more options, visit <a href=3D"https://groups.google.com/d/optout" targ= et=3D"_blank">https://groups.google.com/d/op<wbr>tout</a>.<br> </div></div></blockquote></div><br><br clear=3D"all"><br>-- <br><div class= =3D"m_-5533521596008018393gmail_signature" data-smartmail=3D"gmail_signatur= e"><div dir=3D"ltr"><div><div dir=3D"ltr"><div><div dir=3D"ltr"><div><div d= ir=3D"ltr"><div>Oliver Ruebenacker<br></div><div>Senior Software Engineer, = <a href=3D"http://www.type2diabetesgenetics.org/" target=3D"_blank">Diabete= s Portal</a>, <a href=3D"http://www.broadinstitute.org/" target=3D"_blank">= Broad Institute</a><br></div><br></div></div></div></div></div></div></div>= </div> </div> <p></p> -- <br> You received this message because you are subscribed to the Google Groups &= quot;scala-language" group.<br> To unsubscribe from this group and stop receiving emails from it, send an e= mail to <a href=3D"mailto:[email protected]" targ= et=3D"_blank">scala-language+unsubscribe@<wbr>googlegroups.com</a>.<br> For more options, visit <a href=3D"https://groups.google.com/d/optout" targ= et=3D"_blank">https://groups.google.com/d/<wbr>optout</a>.<br> </div></div></blockquote></div><br></div> <p></p> -- <br /> You received this message because you are subscribed to the Google Groups &= quot;scala-language" group.<br /> To unsubscribe from this group and stop receiving emails from it, send an e= mail to <a href=3D"mailto:[email protected]">scal= [email protected]</a>.<br /> For more options, visit <a href=3D"https://groups.google.com/d/optout">http= s://groups.google.com/d/optout</a>.<br /> --94eb2c18f7ee7052e8054287a506--