Re: Sorted structures lose their ordering when mapped

Oliver Ruebenacker <[email protected]> Wed, 30 Nov 2016 10:09:53 -0500
Newsgroups gmane.comp.lang.scala
Message-ID <CAA=X4OBGWUJGnwtWO5=SffJnrmvLky-bd6g+S_uRDb4su8CvmQ@mail.gmail.com>
--001a1135ad22e5cccf0542861809
Content-Type: text/plain; charset=UTF-8

     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/
>> topic/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/
>> topic/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.

--001a1135ad22e5cccf0542861809
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<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 example<b=
r><br></div>=C2=A0 def mapMySet[A, B](set: SortedSet[A], f: A =3D&gt; B): S=
ortedSet[B] =3D set.map(f)<br><br></div>=C2=A0 You can&#39;t prove that A a=
nd B are the same type, so the mapped set can&#39;t just take the Ordering[=
A] from the original set, but you&#39;d have to provide a fresh Ordering[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"gmail_extra"><br><=
div class=3D"gmail_quote">On Tue, Nov 29, 2016 at 3:23 PM, Tobin Yehle <spa=
n dir=3D"ltr">&lt;<a href=3D"mailto:[email protected]" target=3D"_blank"=
>[email protected]</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_q=
uote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1e=
x"><div dir=3D"ltr"><div>I think the least surprising behavior would be to =
treat them as the same, but I&#39;m not sure I follow you exactly. Won&#39;=
t a=C2=A0<span style=3D"color:rgb(33,33,33)">CanBuildFrom[Sorted[K, _], K, =
Sorted[K, _]] work if it is scope?</span></div></div><div class=3D"HOEnZb">=
<div class=3D"h5"><br><div class=3D"gmail_quote"><div dir=3D"ltr">On Tue, N=
ov 29, 2016 at 8:16 AM Oliver Ruebenacker &lt;<a href=3D"mailto:curoli@gmai=
l.com" target=3D"_blank">[email protected]</a>&gt; wrote:<br></div><blockquo=
te class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc so=
lid;padding-left:1ex"><div dir=3D"ltr" class=3D"m_-4658453758191436845gmail=
_msg"><div class=3D"m_-4658453758191436845gmail_msg"><div class=3D"m_-46584=
53758191436845gmail_msg"><div class=3D"m_-4658453758191436845gmail_msg"><di=
v class=3D"m_-4658453758191436845gmail_msg"><br class=3D"m_-465845375819143=
6845gmail_msg"></div>=C2=A0=C2=A0=C2=A0=C2=A0 Hello,<br class=3D"m_-4658453=
758191436845gmail_msg"><br class=3D"m_-4658453758191436845gmail_msg"></div>=
=C2=A0 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.<br class=3D"m_-4658453758191=
436845gmail_msg"><br class=3D"m_-4658453758191436845gmail_msg"></div>=C2=A0=
 For example, what happens when we don&#39;t know whether the type is the s=
ame due to type parameters? Would we treat them as different?<br class=3D"m=
_-4658453758191436845gmail_msg"><br class=3D"m_-4658453758191436845gmail_ms=
g"></div><div class=3D"m_-4658453758191436845gmail_msg">=C2=A0=C2=A0=C2=A0=
=C2=A0 Best, Oliver<br class=3D"m_-4658453758191436845gmail_msg"></div><div=
 class=3D"m_-4658453758191436845gmail_msg"><br class=3D"m_-4658453758191436=
845gmail_msg"><br class=3D"m_-4658453758191436845gmail_msg"></div><div clas=
s=3D"m_-4658453758191436845gmail_msg"><br class=3D"m_-4658453758191436845gm=
ail_msg">=C2=A0 <br class=3D"m_-4658453758191436845gmail_msg"></div></div><=
div class=3D"gmail_extra m_-4658453758191436845gmail_msg"></div><div class=
=3D"gmail_extra m_-4658453758191436845gmail_msg"><br class=3D"m_-4658453758=
191436845gmail_msg"><div class=3D"gmail_quote m_-4658453758191436845gmail_m=
sg">On Tue, Nov 29, 2016 at 1:23 AM, Tobin Yehle <span dir=3D"ltr" class=3D=
"m_-4658453758191436845gmail_msg">&lt;<a href=3D"mailto:[email protected]=
m" class=3D"m_-4658453758191436845gmail_msg" target=3D"_blank">tobinyehle@g=
mail.com</a>&gt;</span> wrote:<br class=3D"m_-4658453758191436845gmail_msg"=
><blockquote class=3D"gmail_quote m_-4658453758191436845gmail_msg" style=3D=
"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir=3D=
"ltr" class=3D"m_-4658453758191436845gmail_msg">On the immutable side, I th=
ink the only concrete collections that inherit from SortedSet are TreeSet a=
nd BitSet. I think the problem also exists in TreeMap, and all the mutable =
versions of these three structures. Mutable BitSets are probably the larges=
t use case.<div class=3D"m_-4658453758191436845gmail_msg"><br class=3D"m_-4=
658453758191436845gmail_msg"></div><div class=3D"m_-4658453758191436845gmai=
l_msg">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 L=
og insertions/deletions/lookups.</div><div class=3D"m_-4658453758191436845g=
mail_msg"><br class=3D"m_-4658453758191436845gmail_msg"></div><div class=3D=
"m_-4658453758191436845gmail_msg">My thought is that sorted collections sho=
uld retain their ordering whenever possible.</div><div class=3D"m_-46584537=
58191436845gmail_msg"><br class=3D"m_-4658453758191436845gmail_msg"></div><=
div class=3D"m_-4658453758191436845gmail_msg"><span class=3D"m_-46584537581=
91436845gmail_msg"><div class=3D"m_-4658453758191436845gmail_msg">scala&gt;=
 val set =3D SortedSet(1,2,3)(ord=3DOrdering.<wbr>Int.reverse)</div><div cl=
ass=3D"m_-4658453758191436845gmail_msg">set: scala.collection.SortedSet[<wb=
r>Int] =3D TreeSet(3, 2, 1)</div><div class=3D"m_-4658453758191436845gmail_=
msg"><br class=3D"m_-4658453758191436845gmail_msg"></div></span><div class=
=3D"m_-4658453758191436845gmail_msg">scala&gt; set.map(identity)</div><div =
class=3D"m_-4658453758191436845gmail_msg">res0: scala.collection.SortedSet[=
<wbr>Int] =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_-4658453758191436845gmail_msg"><br c=
lass=3D"m_-4658453758191436845gmail_msg"></div><div class=3D"m_-46584537581=
91436845gmail_msg">scala&gt; set.map(_*2)</div><div class=3D"m_-46584537581=
91436845gmail_msg">res1: scala.collection.SortedSet[<wbr>Int] =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_-4658453758191436845gmail_msg"><br class=3D"m_-465845375819=
1436845gmail_msg"></div><div class=3D"m_-4658453758191436845gmail_msg">and =
if possible</div><div class=3D"m_-4658453758191436845gmail_msg"><br class=
=3D"m_-4658453758191436845gmail_msg"></div><div class=3D"m_-465845375819143=
6845gmail_msg"><div class=3D"m_-4658453758191436845gmail_msg">scala&gt; set=
.map(_*2)(collection.<wbr>breakOut) : BitSet</div><div class=3D"m_-46584537=
58191436845gmail_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_-46584537581914=
36845gmail_msg"><br class=3D"m_-4658453758191436845gmail_msg"></div><div cl=
ass=3D"m_-4658453758191436845gmail_msg">an impossible case is when the type=
 of the objects in the container changes</div><div class=3D"m_-465845375819=
1436845gmail_msg"><br class=3D"m_-4658453758191436845gmail_msg"></div><div =
class=3D"m_-4658453758191436845gmail_msg"><div class=3D"m_-4658453758191436=
845gmail_msg">scala&gt; set.map(&quot;a&quot; * _)</div><div class=3D"m_-46=
58453758191436845gmail_msg">res3: scala.collection.SortedSet[<wbr>String] =
=3D TreeSet(a, aa, aaa) =C2=A0 =C2=A0 =C2=A0 =C2=A0this seems like correct =
behavior</div></div><div class=3D"m_-4658453758191436845gmail_msg"><br clas=
s=3D"m_-4658453758191436845gmail_msg"></div></div><br class=3D"m_-465845375=
8191436845gmail_msg"><div class=3D"gmail_quote m_-4658453758191436845gmail_=
msg"><div class=3D"m_-4658453758191436845gmail_msg"><div class=3D"m_-465845=
3758191436845m_4561654010907287049h5 m_-4658453758191436845gmail_msg"><div =
dir=3D"ltr" class=3D"m_-4658453758191436845gmail_msg">On Mon, Nov 28, 2016 =
at 10:34 PM Vlad Patryshev &lt;<a href=3D"mailto:[email protected]" clas=
s=3D"m_-4658453758191436845gmail_msg" target=3D"_blank">[email protected]=
m</a>&gt; wrote:<br class=3D"m_-4658453758191436845gmail_msg"></div></div><=
/div><blockquote class=3D"gmail_quote m_-4658453758191436845gmail_msg" styl=
e=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div cl=
ass=3D"m_-4658453758191436845gmail_msg"><div class=3D"m_-465845375819143684=
5m_4561654010907287049h5 m_-4658453758191436845gmail_msg"><div dir=3D"ltr" =
class=3D"m_-4658453758191436845m_4561654010907287049m_-4798312560682989803g=
mail_msg m_-4658453758191436845gmail_msg">It was a pretty nice (counter-)ex=
ample, but I wonder what is &quot;SortedSet&quot;? And of course the next q=
uestion will be - how should map be defined on &quot;SortedSet&quot;?<div c=
lass=3D"m_-4658453758191436845m_4561654010907287049m_-4798312560682989803gm=
ail_msg m_-4658453758191436845gmail_msg"><br class=3D"m_-465845375819143684=
5m_4561654010907287049m_-4798312560682989803gmail_msg m_-465845375819143684=
5gmail_msg"></div><div class=3D"m_-4658453758191436845m_4561654010907287049=
m_-4798312560682989803gmail_msg m_-4658453758191436845gmail_msg">It&#39;s n=
ot a joke, it&#39;s a serious question.</div></div><div class=3D"gmail_extr=
a m_-4658453758191436845m_4561654010907287049m_-4798312560682989803gmail_ms=
g m_-4658453758191436845gmail_msg"><br class=3D"m_-4658453758191436845m_456=
1654010907287049m_-4798312560682989803gmail_msg m_-4658453758191436845gmail=
_msg" clear=3D"all"><div class=3D"m_-4658453758191436845m_45616540109072870=
49m_-4798312560682989803gmail_msg m_-4658453758191436845gmail_msg"><div cla=
ss=3D"m_-4658453758191436845m_4561654010907287049m_-4798312560682989803m_-5=
042556665519706739gmail_signature m_-4658453758191436845m_45616540109072870=
49m_-4798312560682989803gmail_msg m_-4658453758191436845gmail_msg" data-sma=
rtmail=3D"gmail_signature">Thanks,<br class=3D"m_-4658453758191436845m_4561=
654010907287049m_-4798312560682989803gmail_msg m_-4658453758191436845gmail_=
msg">-Vlad</div></div>
<br class=3D"m_-4658453758191436845m_4561654010907287049m_-4798312560682989=
803gmail_msg m_-4658453758191436845gmail_msg"><div class=3D"gmail_quote m_-=
4658453758191436845m_4561654010907287049m_-4798312560682989803gmail_msg m_-=
4658453758191436845gmail_msg"></div></div><div class=3D"gmail_extra m_-4658=
453758191436845m_4561654010907287049m_-4798312560682989803gmail_msg m_-4658=
453758191436845gmail_msg"><div class=3D"gmail_quote m_-4658453758191436845m=
_4561654010907287049m_-4798312560682989803gmail_msg m_-4658453758191436845g=
mail_msg">On Mon, Nov 28, 2016 at 8:14 PM, Tobin Yehle <span dir=3D"ltr" cl=
ass=3D"m_-4658453758191436845m_4561654010907287049m_-4798312560682989803gma=
il_msg m_-4658453758191436845gmail_msg">&lt;<a href=3D"mailto:tobinyehle@gm=
ail.com" class=3D"m_-4658453758191436845m_4561654010907287049m_-47983125606=
82989803gmail_msg m_-4658453758191436845gmail_msg" target=3D"_blank">tobiny=
[email protected]</a>&gt;</span> wrote:<br class=3D"m_-4658453758191436845m_45=
61654010907287049m_-4798312560682989803gmail_msg m_-4658453758191436845gmai=
l_msg"></div></div><div class=3D"gmail_extra m_-4658453758191436845m_456165=
4010907287049m_-4798312560682989803gmail_msg m_-4658453758191436845gmail_ms=
g"><div class=3D"gmail_quote m_-4658453758191436845m_4561654010907287049m_-=
4798312560682989803gmail_msg m_-4658453758191436845gmail_msg"><blockquote c=
lass=3D"gmail_quote m_-4658453758191436845m_4561654010907287049m_-479831256=
0682989803gmail_msg m_-4658453758191436845gmail_msg" style=3D"margin:0 0 0 =
.8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir=3D"ltr" class=3D=
"m_-4658453758191436845m_4561654010907287049m_-4798312560682989803gmail_msg=
 m_-4658453758191436845gmail_msg"><div class=3D"m_-4658453758191436845m_456=
1654010907287049m_-4798312560682989803gmail_msg m_-4658453758191436845gmail=
_msg">Not sure if I&#39;m really posting this in the right place, but:</div=
><div class=3D"m_-4658453758191436845m_4561654010907287049m_-47983125606829=
89803gmail_msg m_-4658453758191436845gmail_msg"><br class=3D"m_-46584537581=
91436845m_4561654010907287049m_-4798312560682989803gmail_msg m_-46584537581=
91436845gmail_msg"></div>Calling map on a collection that requires an impli=
cit ordering results in some surprising behavior. For example:<div class=3D=
"m_-4658453758191436845m_4561654010907287049m_-4798312560682989803gmail_msg=
 m_-4658453758191436845gmail_msg"><div class=3D"m_-4658453758191436845m_456=
1654010907287049m_-4798312560682989803gmail_msg m_-4658453758191436845gmail=
_msg"><br class=3D"m_-4658453758191436845m_4561654010907287049m_-4798312560=
682989803gmail_msg m_-4658453758191436845gmail_msg"></div><div class=3D"m_-=
4658453758191436845m_4561654010907287049m_-4798312560682989803m_-5042556665=
519706739m_3440269965916649927prettyprint m_-4658453758191436845m_456165401=
0907287049m_-4798312560682989803gmail_msg m_-4658453758191436845gmail_msg" =
style=3D"background-color:rgb(250,250,250);border-color:rgb(187,187,187);bo=
rder-style:solid;border-width:1px;word-wrap:break-word"><code class=3D"m_-4=
658453758191436845m_4561654010907287049m_-4798312560682989803m_-50425566655=
19706739m_3440269965916649927prettyprint m_-4658453758191436845m_4561654010=
907287049m_-4798312560682989803gmail_msg m_-4658453758191436845gmail_msg"><=
div class=3D"m_-4658453758191436845m_4561654010907287049m_-4798312560682989=
803m_-5042556665519706739m_3440269965916649927subprettyprint m_-46584537581=
91436845m_4561654010907287049m_-4798312560682989803gmail_msg m_-46584537581=
91436845gmail_msg"><span style=3D"color:#000" class=3D"m_-46584537581914368=
45m_4561654010907287049m_-4798312560682989803m_-5042556665519706739m_344026=
9965916649927styled-by-prettify m_-4658453758191436845m_4561654010907287049=
m_-4798312560682989803gmail_msg m_-4658453758191436845gmail_msg">scala</spa=
n><span style=3D"color:#660" class=3D"m_-4658453758191436845m_4561654010907=
287049m_-4798312560682989803m_-5042556665519706739m_3440269965916649927styl=
ed-by-prettify m_-4658453758191436845m_4561654010907287049m_-47983125606829=
89803gmail_msg m_-4658453758191436845gmail_msg">&gt;</span><span style=3D"c=
olor:#000" class=3D"m_-4658453758191436845m_4561654010907287049m_-479831256=
0682989803m_-5042556665519706739m_3440269965916649927styled-by-prettify m_-=
4658453758191436845m_4561654010907287049m_-4798312560682989803gmail_msg m_-=
4658453758191436845gmail_msg"> val </span><span style=3D"color:#008" class=
=3D"m_-4658453758191436845m_4561654010907287049m_-4798312560682989803m_-504=
2556665519706739m_3440269965916649927styled-by-prettify m_-4658453758191436=
845m_4561654010907287049m_-4798312560682989803gmail_msg m_-4658453758191436=
845gmail_msg">set</span><span style=3D"color:#000" class=3D"m_-465845375819=
1436845m_4561654010907287049m_-4798312560682989803m_-5042556665519706739m_3=
440269965916649927styled-by-prettify m_-4658453758191436845m_45616540109072=
87049m_-4798312560682989803gmail_msg m_-4658453758191436845gmail_msg"> </sp=
an><span style=3D"color:#660" class=3D"m_-4658453758191436845m_456165401090=
7287049m_-4798312560682989803m_-5042556665519706739m_3440269965916649927sty=
led-by-prettify m_-4658453758191436845m_4561654010907287049m_-4798312560682=
989803gmail_msg m_-4658453758191436845gmail_msg">=3D</span><span style=3D"c=
olor:#000" class=3D"m_-4658453758191436845m_4561654010907287049m_-479831256=
0682989803m_-5042556665519706739m_3440269965916649927styled-by-prettify m_-=
4658453758191436845m_4561654010907287049m_-4798312560682989803gmail_msg m_-=
4658453758191436845gmail_msg"> </span><span style=3D"color:#606" class=3D"m=
_-4658453758191436845m_4561654010907287049m_-4798312560682989803m_-50425566=
65519706739m_3440269965916649927styled-by-prettify m_-4658453758191436845m_=
4561654010907287049m_-4798312560682989803gmail_msg m_-4658453758191436845gm=
ail_msg">SortedSet</span><span style=3D"color:#660" class=3D"m_-46584537581=
91436845m_4561654010907287049m_-4798312560682989803m_-5042556665519706739m_=
3440269965916649927styled-by-prettify m_-4658453758191436845m_4561654010907=
287049m_-4798312560682989803gmail_msg m_-4658453758191436845gmail_msg">(</s=
pan><span style=3D"color:#066" class=3D"m_-4658453758191436845m_45616540109=
07287049m_-4798312560682989803m_-5042556665519706739m_3440269965916649927st=
yled-by-prettify m_-4658453758191436845m_4561654010907287049m_-479831256068=
2989803gmail_msg m_-4658453758191436845gmail_msg">1</span><span style=3D"co=
lor:#660" class=3D"m_-4658453758191436845m_4561654010907287049m_-4798312560=
682989803m_-5042556665519706739m_3440269965916649927styled-by-prettify m_-4=
658453758191436845m_4561654010907287049m_-4798312560682989803gmail_msg m_-4=
658453758191436845gmail_msg">,</span><span style=3D"color:#066" class=3D"m_=
-4658453758191436845m_4561654010907287049m_-4798312560682989803m_-504255666=
5519706739m_3440269965916649927styled-by-prettify m_-4658453758191436845m_4=
561654010907287049m_-4798312560682989803gmail_msg m_-4658453758191436845gma=
il_msg">2</span><span style=3D"color:#660" class=3D"m_-4658453758191436845m=
_4561654010907287049m_-4798312560682989803m_-5042556665519706739m_344026996=
5916649927styled-by-prettify m_-4658453758191436845m_4561654010907287049m_-=
4798312560682989803gmail_msg m_-4658453758191436845gmail_msg">,</span><span=
 style=3D"color:#066" class=3D"m_-4658453758191436845m_4561654010907287049m=
_-4798312560682989803m_-5042556665519706739m_3440269965916649927styled-by-p=
rettify m_-4658453758191436845m_4561654010907287049m_-4798312560682989803gm=
ail_msg m_-4658453758191436845gmail_msg">3</span><span style=3D"color:#660"=
 class=3D"m_-4658453758191436845m_4561654010907287049m_-4798312560682989803=
m_-5042556665519706739m_3440269965916649927styled-by-prettify m_-4658453758=
191436845m_4561654010907287049m_-4798312560682989803gmail_msg m_-4658453758=
191436845gmail_msg">)(</span><span style=3D"color:#000" class=3D"m_-4658453=
758191436845m_4561654010907287049m_-4798312560682989803m_-50425566655197067=
39m_3440269965916649927styled-by-prettify m_-4658453758191436845m_456165401=
0907287049m_-4798312560682989803gmail_msg m_-4658453758191436845gmail_msg">=
ord</span><span style=3D"color:#660" class=3D"m_-4658453758191436845m_45616=
54010907287049m_-4798312560682989803m_-5042556665519706739m_344026996591664=
9927styled-by-prettify m_-4658453758191436845m_4561654010907287049m_-479831=
2560682989803gmail_msg m_-4658453758191436845gmail_msg">=3D</span><span sty=
le=3D"color:#606" class=3D"m_-4658453758191436845m_4561654010907287049m_-47=
98312560682989803m_-5042556665519706739m_3440269965916649927styled-by-prett=
ify m_-4658453758191436845m_4561654010907287049m_-4798312560682989803gmail_=
msg m_-4658453758191436845gmail_msg">Ordering</span><span style=3D"color:#6=
60" class=3D"m_-4658453758191436845m_4561654010907287049m_-4798312560682989=
803m_-5042556665519706739m_3440269965916649927styled-by-prettify m_-4658453=
758191436845m_4561654010907287049m_-4798312560682989803gmail_msg m_-4658453=
758191436845gmail_msg">.</span><span style=3D"color:#606" class=3D"m_-46584=
53758191436845m_4561654010907287049m_-4798312560682989803m_-504255666551970=
6739m_3440269965916649927styled-by-prettify m_-4658453758191436845m_4561654=
010907287049m_-4798312560682989803gmail_msg m_-4658453758191436845gmail_msg=
"><wbr>Int</span><span style=3D"color:#660" class=3D"m_-4658453758191436845=
m_4561654010907287049m_-4798312560682989803m_-5042556665519706739m_34402699=
65916649927styled-by-prettify m_-4658453758191436845m_4561654010907287049m_=
-4798312560682989803gmail_msg m_-4658453758191436845gmail_msg">.</span><spa=
n style=3D"color:#000" class=3D"m_-4658453758191436845m_4561654010907287049=
m_-4798312560682989803m_-5042556665519706739m_3440269965916649927styled-by-=
prettify m_-4658453758191436845m_4561654010907287049m_-4798312560682989803g=
mail_msg m_-4658453758191436845gmail_msg">reverse</span><span style=3D"colo=
r:#660" class=3D"m_-4658453758191436845m_4561654010907287049m_-479831256068=
2989803m_-5042556665519706739m_3440269965916649927styled-by-prettify m_-465=
8453758191436845m_4561654010907287049m_-4798312560682989803gmail_msg m_-465=
8453758191436845gmail_msg">)</span><span style=3D"color:#000" class=3D"m_-4=
658453758191436845m_4561654010907287049m_-4798312560682989803m_-50425566655=
19706739m_3440269965916649927styled-by-prettify m_-4658453758191436845m_456=
1654010907287049m_-4798312560682989803gmail_msg m_-4658453758191436845gmail=
_msg"><br class=3D"m_-4658453758191436845m_4561654010907287049m_-4798312560=
682989803gmail_msg m_-4658453758191436845gmail_msg"></span><span style=3D"c=
olor:#008" class=3D"m_-4658453758191436845m_4561654010907287049m_-479831256=
0682989803m_-5042556665519706739m_3440269965916649927styled-by-prettify m_-=
4658453758191436845m_4561654010907287049m_-4798312560682989803gmail_msg m_-=
4658453758191436845gmail_msg">set</span><span style=3D"color:#660" class=3D=
"m_-4658453758191436845m_4561654010907287049m_-4798312560682989803m_-504255=
6665519706739m_3440269965916649927styled-by-prettify m_-4658453758191436845=
m_4561654010907287049m_-4798312560682989803gmail_msg m_-4658453758191436845=
gmail_msg">:</span><span style=3D"color:#000" class=3D"m_-46584537581914368=
45m_4561654010907287049m_-4798312560682989803m_-5042556665519706739m_344026=
9965916649927styled-by-prettify m_-4658453758191436845m_4561654010907287049=
m_-4798312560682989803gmail_msg m_-4658453758191436845gmail_msg"> scala</sp=
an><span style=3D"color:#660" class=3D"m_-4658453758191436845m_456165401090=
7287049m_-4798312560682989803m_-5042556665519706739m_3440269965916649927sty=
led-by-prettify m_-4658453758191436845m_4561654010907287049m_-4798312560682=
989803gmail_msg m_-4658453758191436845gmail_msg">.</span><span style=3D"col=
or:#000" class=3D"m_-4658453758191436845m_4561654010907287049m_-47983125606=
82989803m_-5042556665519706739m_3440269965916649927styled-by-prettify m_-46=
58453758191436845m_4561654010907287049m_-4798312560682989803gmail_msg m_-46=
58453758191436845gmail_msg">collection</span><span style=3D"color:#660" cla=
ss=3D"m_-4658453758191436845m_4561654010907287049m_-4798312560682989803m_-5=
042556665519706739m_3440269965916649927styled-by-prettify m_-46584537581914=
36845m_4561654010907287049m_-4798312560682989803gmail_msg m_-46584537581914=
36845gmail_msg">.</span><span style=3D"color:#606" class=3D"m_-465845375819=
1436845m_4561654010907287049m_-4798312560682989803m_-5042556665519706739m_3=
440269965916649927styled-by-prettify m_-4658453758191436845m_45616540109072=
87049m_-4798312560682989803gmail_msg m_-4658453758191436845gmail_msg">Sorte=
dSet</span><span style=3D"color:#660" class=3D"m_-4658453758191436845m_4561=
654010907287049m_-4798312560682989803m_-5042556665519706739m_34402699659166=
49927styled-by-prettify m_-4658453758191436845m_4561654010907287049m_-47983=
12560682989803gmail_msg m_-4658453758191436845gmail_msg">[</span><span styl=
e=3D"color:#606" class=3D"m_-4658453758191436845m_4561654010907287049m_-479=
8312560682989803m_-5042556665519706739m_3440269965916649927styled-by-pretti=
fy m_-4658453758191436845m_4561654010907287049m_-4798312560682989803gmail_m=
sg m_-4658453758191436845gmail_msg">Int</span><span style=3D"color:#660" cl=
ass=3D"m_-4658453758191436845m_4561654010907287049m_-4798312560682989803m_-=
5042556665519706739m_3440269965916649927styled-by-prettify m_-4658453758191=
436845m_4561654010907287049m_-4798312560682989803gmail_msg m_-4658453758191=
436845gmail_msg"><wbr>]</span><span style=3D"color:#000" class=3D"m_-465845=
3758191436845m_4561654010907287049m_-4798312560682989803m_-5042556665519706=
739m_3440269965916649927styled-by-prettify m_-4658453758191436845m_45616540=
10907287049m_-4798312560682989803gmail_msg m_-4658453758191436845gmail_msg"=
> </span><span style=3D"color:#660" class=3D"m_-4658453758191436845m_456165=
4010907287049m_-4798312560682989803m_-5042556665519706739m_3440269965916649=
927styled-by-prettify m_-4658453758191436845m_4561654010907287049m_-4798312=
560682989803gmail_msg m_-4658453758191436845gmail_msg">=3D</span><span styl=
e=3D"color:#000" class=3D"m_-4658453758191436845m_4561654010907287049m_-479=
8312560682989803m_-5042556665519706739m_3440269965916649927styled-by-pretti=
fy m_-4658453758191436845m_4561654010907287049m_-4798312560682989803gmail_m=
sg m_-4658453758191436845gmail_msg"> </span><span style=3D"color:#606" clas=
s=3D"m_-4658453758191436845m_4561654010907287049m_-4798312560682989803m_-50=
42556665519706739m_3440269965916649927styled-by-prettify m_-465845375819143=
6845m_4561654010907287049m_-4798312560682989803gmail_msg m_-465845375819143=
6845gmail_msg">TreeSet</span><span style=3D"color:#660" class=3D"m_-4658453=
758191436845m_4561654010907287049m_-4798312560682989803m_-50425566655197067=
39m_3440269965916649927styled-by-prettify m_-4658453758191436845m_456165401=
0907287049m_-4798312560682989803gmail_msg m_-4658453758191436845gmail_msg">=
(</span><span style=3D"color:#066" class=3D"m_-4658453758191436845m_4561654=
010907287049m_-4798312560682989803m_-5042556665519706739m_34402699659166499=
27styled-by-prettify m_-4658453758191436845m_4561654010907287049m_-47983125=
60682989803gmail_msg m_-4658453758191436845gmail_msg">3</span><span style=
=3D"color:#660" class=3D"m_-4658453758191436845m_4561654010907287049m_-4798=
312560682989803m_-5042556665519706739m_3440269965916649927styled-by-prettif=
y m_-4658453758191436845m_4561654010907287049m_-4798312560682989803gmail_ms=
g m_-4658453758191436845gmail_msg">,</span><span style=3D"color:#000" class=
=3D"m_-4658453758191436845m_4561654010907287049m_-4798312560682989803m_-504=
2556665519706739m_3440269965916649927styled-by-prettify m_-4658453758191436=
845m_4561654010907287049m_-4798312560682989803gmail_msg m_-4658453758191436=
845gmail_msg"> </span><span style=3D"color:#066" class=3D"m_-46584537581914=
36845m_4561654010907287049m_-4798312560682989803m_-5042556665519706739m_344=
0269965916649927styled-by-prettify m_-4658453758191436845m_4561654010907287=
049m_-4798312560682989803gmail_msg m_-4658453758191436845gmail_msg">2</span=
><span style=3D"color:#660" class=3D"m_-4658453758191436845m_45616540109072=
87049m_-4798312560682989803m_-5042556665519706739m_3440269965916649927style=
d-by-prettify m_-4658453758191436845m_4561654010907287049m_-479831256068298=
9803gmail_msg m_-4658453758191436845gmail_msg">,</span><span style=3D"color=
:#000" class=3D"m_-4658453758191436845m_4561654010907287049m_-4798312560682=
989803m_-5042556665519706739m_3440269965916649927styled-by-prettify m_-4658=
453758191436845m_4561654010907287049m_-4798312560682989803gmail_msg m_-4658=
453758191436845gmail_msg"> </span><span style=3D"color:#066" class=3D"m_-46=
58453758191436845m_4561654010907287049m_-4798312560682989803m_-504255666551=
9706739m_3440269965916649927styled-by-prettify m_-4658453758191436845m_4561=
654010907287049m_-4798312560682989803gmail_msg m_-4658453758191436845gmail_=
msg">1</span><span style=3D"color:#660" class=3D"m_-4658453758191436845m_45=
61654010907287049m_-4798312560682989803m_-5042556665519706739m_344026996591=
6649927styled-by-prettify m_-4658453758191436845m_4561654010907287049m_-479=
8312560682989803gmail_msg m_-4658453758191436845gmail_msg">)</span><span st=
yle=3D"color:#000" class=3D"m_-4658453758191436845m_4561654010907287049m_-4=
798312560682989803m_-5042556665519706739m_3440269965916649927styled-by-pret=
tify m_-4658453758191436845m_4561654010907287049m_-4798312560682989803gmail=
_msg m_-4658453758191436845gmail_msg"><br class=3D"m_-4658453758191436845m_=
4561654010907287049m_-4798312560682989803gmail_msg m_-4658453758191436845gm=
ail_msg"><br class=3D"m_-4658453758191436845m_4561654010907287049m_-4798312=
560682989803gmail_msg m_-4658453758191436845gmail_msg"><br class=3D"m_-4658=
453758191436845m_4561654010907287049m_-4798312560682989803gmail_msg m_-4658=
453758191436845gmail_msg">scala</span><span style=3D"color:#660" class=3D"m=
_-4658453758191436845m_4561654010907287049m_-4798312560682989803m_-50425566=
65519706739m_3440269965916649927styled-by-prettify m_-4658453758191436845m_=
4561654010907287049m_-4798312560682989803gmail_msg m_-4658453758191436845gm=
ail_msg">&gt;</span><span style=3D"color:#000" class=3D"m_-4658453758191436=
845m_4561654010907287049m_-4798312560682989803m_-5042556665519706739m_34402=
69965916649927styled-by-prettify m_-4658453758191436845m_456165401090728704=
9m_-4798312560682989803gmail_msg m_-4658453758191436845gmail_msg"> </span><=
span style=3D"color:#008" class=3D"m_-4658453758191436845m_4561654010907287=
049m_-4798312560682989803m_-5042556665519706739m_3440269965916649927styled-=
by-prettify m_-4658453758191436845m_4561654010907287049m_-47983125606829898=
03gmail_msg m_-4658453758191436845gmail_msg">set</span><span style=3D"color=
:#660" class=3D"m_-4658453758191436845m_4561654010907287049m_-4798312560682=
989803m_-5042556665519706739m_3440269965916649927styled-by-prettify m_-4658=
453758191436845m_4561654010907287049m_-4798312560682989803gmail_msg m_-4658=
453758191436845gmail_msg">.</span><span style=3D"color:#000" class=3D"m_-46=
58453758191436845m_4561654010907287049m_-4798312560682989803m_-504255666551=
9706739m_3440269965916649927styled-by-prettify m_-4658453758191436845m_4561=
654010907287049m_-4798312560682989803gmail_msg m_-4658453758191436845gmail_=
msg">firstKey </span><span style=3D"color:#660" class=3D"m_-465845375819143=
6845m_4561654010907287049m_-4798312560682989803m_-5042556665519706739m_3440=
269965916649927styled-by-prettify m_-4658453758191436845m_45616540109072870=
49m_-4798312560682989803gmail_msg m_-4658453758191436845gmail_msg">=3D=3D</=
span><span style=3D"color:#000" class=3D"m_-4658453758191436845m_4561654010=
907287049m_-4798312560682989803m_-5042556665519706739m_3440269965916649927s=
tyled-by-prettify m_-4658453758191436845m_4561654010907287049m_-47983125606=
82989803gmail_msg m_-4658453758191436845gmail_msg"> </span><span style=3D"c=
olor:#008" class=3D"m_-4658453758191436845m_4561654010907287049m_-479831256=
0682989803m_-5042556665519706739m_3440269965916649927styled-by-prettify m_-=
4658453758191436845m_4561654010907287049m_-4798312560682989803gmail_msg m_-=
4658453758191436845gmail_msg">set</span><span style=3D"color:#660" class=3D=
"m_-4658453758191436845m_4561654010907287049m_-4798312560682989803m_-504255=
6665519706739m_3440269965916649927styled-by-prettify m_-4658453758191436845=
m_4561654010907287049m_-4798312560682989803gmail_msg m_-4658453758191436845=
gmail_msg">.</span><span style=3D"color:#000" class=3D"m_-46584537581914368=
45m_4561654010907287049m_-4798312560682989803m_-5042556665519706739m_344026=
9965916649927styled-by-prettify m_-4658453758191436845m_4561654010907287049=
m_-4798312560682989803gmail_msg m_-4658453758191436845gmail_msg">map</span>=
<span style=3D"color:#660" class=3D"m_-4658453758191436845m_456165401090728=
7049m_-4798312560682989803m_-5042556665519706739m_3440269965916649927styled=
-by-prettify m_-4658453758191436845m_4561654010907287049m_-4798312560682989=
803gmail_msg m_-4658453758191436845gmail_msg">(</span><span style=3D"color:=
#000" class=3D"m_-4658453758191436845m_4561654010907287049m_-47983125606829=
89803m_-5042556665519706739m_3440269965916649927styled-by-prettify m_-46584=
53758191436845m_4561654010907287049m_-4798312560682989803gmail_msg m_-46584=
53758191436845gmail_msg">identity</span><span style=3D"color:#660" class=3D=
"m_-4658453758191436845m_4561654010907287049m_-4798312560682989803m_-504255=
6665519706739m_3440269965916649927styled-by-prettify m_-4658453758191436845=
m_4561654010907287049m_-4798312560682989803gmail_msg m_-4658453758191436845=
gmail_msg">).</span><span style=3D"color:#000" class=3D"m_-4658453758191436=
845m_4561654010907287049m_-4798312560682989803m_-5042556665519706739m_34402=
69965916649927styled-by-prettify m_-4658453758191436845m_456165401090728704=
9m_-4798312560682989803gmail_msg m_-4658453758191436845gmail_msg">firstKey<=
br class=3D"m_-4658453758191436845m_4561654010907287049m_-47983125606829898=
03gmail_msg m_-4658453758191436845gmail_msg">res0</span><span style=3D"colo=
r:#660" class=3D"m_-4658453758191436845m_4561654010907287049m_-479831256068=
2989803m_-5042556665519706739m_3440269965916649927styled-by-prettify m_-465=
8453758191436845m_4561654010907287049m_-4798312560682989803gmail_msg m_-465=
8453758191436845gmail_msg">:</span><span style=3D"color:#000" class=3D"m_-4=
658453758191436845m_4561654010907287049m_-4798312560682989803m_-50425566655=
19706739m_3440269965916649927styled-by-prettify m_-4658453758191436845m_456=
1654010907287049m_-4798312560682989803gmail_msg m_-4658453758191436845gmail=
_msg"> </span><span style=3D"color:#606" class=3D"m_-4658453758191436845m_4=
561654010907287049m_-4798312560682989803m_-5042556665519706739m_34402699659=
16649927styled-by-prettify m_-4658453758191436845m_4561654010907287049m_-47=
98312560682989803gmail_msg m_-4658453758191436845gmail_msg">Boolean</span><=
span style=3D"color:#000" class=3D"m_-4658453758191436845m_4561654010907287=
049m_-4798312560682989803m_-5042556665519706739m_3440269965916649927styled-=
by-prettify m_-4658453758191436845m_4561654010907287049m_-47983125606829898=
03gmail_msg m_-4658453758191436845gmail_msg"> </span><span style=3D"color:#=
660" class=3D"m_-4658453758191436845m_4561654010907287049m_-479831256068298=
9803m_-5042556665519706739m_3440269965916649927styled-by-prettify m_-465845=
3758191436845m_4561654010907287049m_-4798312560682989803gmail_msg m_-465845=
3758191436845gmail_msg">=3D</span><span style=3D"color:#000" class=3D"m_-46=
58453758191436845m_4561654010907287049m_-4798312560682989803m_-504255666551=
9706739m_3440269965916649927styled-by-prettify m_-4658453758191436845m_4561=
654010907287049m_-4798312560682989803gmail_msg m_-4658453758191436845gmail_=
msg"> </span><span style=3D"color:#008" class=3D"m_-4658453758191436845m_45=
61654010907287049m_-4798312560682989803m_-5042556665519706739m_344026996591=
6649927styled-by-prettify m_-4658453758191436845m_4561654010907287049m_-479=
8312560682989803gmail_msg m_-4658453758191436845gmail_msg">false</span></di=
v></code></div><div class=3D"m_-4658453758191436845m_4561654010907287049m_-=
4798312560682989803gmail_msg m_-4658453758191436845gmail_msg"><br class=3D"=
m_-4658453758191436845m_4561654010907287049m_-4798312560682989803gmail_msg =
m_-4658453758191436845gmail_msg"></div></div><div class=3D"m_-4658453758191=
436845m_4561654010907287049m_-4798312560682989803gmail_msg m_-4658453758191=
436845gmail_msg">My feeling is that mapping the identity function over any =
collection should not change anything.</div><div class=3D"m_-46584537581914=
36845m_4561654010907287049m_-4798312560682989803gmail_msg m_-46584537581914=
36845gmail_msg"><br class=3D"m_-4658453758191436845m_4561654010907287049m_-=
4798312560682989803gmail_msg m_-4658453758191436845gmail_msg"></div><div cl=
ass=3D"m_-4658453758191436845m_4561654010907287049m_-4798312560682989803gma=
il_msg m_-4658453758191436845gmail_msg">In this case it is clear what is ha=
ppening. The CanBuildFrom provided by SortedSet is pulling an Ordering inst=
ance out of predef (Ordering.Int) instead of using the ordering from the or=
igin collection.</div><div class=3D"m_-4658453758191436845m_456165401090728=
7049m_-4798312560682989803m_-5042556665519706739m_3440269965916649927pretty=
print m_-4658453758191436845m_4561654010907287049m_-4798312560682989803gmai=
l_msg m_-4658453758191436845gmail_msg" style=3D"background-color:rgb(250,25=
0,250);border-color:rgb(187,187,187);border-style:solid;border-width:1px;wo=
rd-wrap:break-word"><code class=3D"m_-4658453758191436845m_4561654010907287=
049m_-4798312560682989803m_-5042556665519706739m_3440269965916649927prettyp=
rint m_-4658453758191436845m_4561654010907287049m_-4798312560682989803gmail=
_msg m_-4658453758191436845gmail_msg"><div class=3D"m_-4658453758191436845m=
_4561654010907287049m_-4798312560682989803m_-5042556665519706739m_344026996=
5916649927subprettyprint m_-4658453758191436845m_4561654010907287049m_-4798=
312560682989803gmail_msg m_-4658453758191436845gmail_msg"><span style=3D"co=
lor:#000" class=3D"m_-4658453758191436845m_4561654010907287049m_-4798312560=
682989803m_-5042556665519706739m_3440269965916649927styled-by-prettify m_-4=
658453758191436845m_4561654010907287049m_-4798312560682989803gmail_msg m_-4=
658453758191436845gmail_msg">scala</span><span style=3D"color:#660" class=
=3D"m_-4658453758191436845m_4561654010907287049m_-4798312560682989803m_-504=
2556665519706739m_3440269965916649927styled-by-prettify m_-4658453758191436=
845m_4561654010907287049m_-4798312560682989803gmail_msg m_-4658453758191436=
845gmail_msg">&gt;</span><span style=3D"color:#000" class=3D"m_-46584537581=
91436845m_4561654010907287049m_-4798312560682989803m_-5042556665519706739m_=
3440269965916649927styled-by-prettify m_-4658453758191436845m_4561654010907=
287049m_-4798312560682989803gmail_msg m_-4658453758191436845gmail_msg"> </s=
pan><span style=3D"color:#008" class=3D"m_-4658453758191436845m_45616540109=
07287049m_-4798312560682989803m_-5042556665519706739m_3440269965916649927st=
yled-by-prettify m_-4658453758191436845m_4561654010907287049m_-479831256068=
2989803gmail_msg m_-4658453758191436845gmail_msg">set</span><span style=3D"=
color:#660" class=3D"m_-4658453758191436845m_4561654010907287049m_-47983125=
60682989803m_-5042556665519706739m_3440269965916649927styled-by-prettify m_=
-4658453758191436845m_4561654010907287049m_-4798312560682989803gmail_msg m_=
-4658453758191436845gmail_msg">.</span><span style=3D"color:#000" class=3D"=
m_-4658453758191436845m_4561654010907287049m_-4798312560682989803m_-5042556=
665519706739m_3440269965916649927styled-by-prettify m_-4658453758191436845m=
_4561654010907287049m_-4798312560682989803gmail_msg m_-4658453758191436845g=
mail_msg">toList<br class=3D"m_-4658453758191436845m_4561654010907287049m_-=
4798312560682989803gmail_msg m_-4658453758191436845gmail_msg">res1</span><s=
pan style=3D"color:#660" class=3D"m_-4658453758191436845m_45616540109072870=
49m_-4798312560682989803m_-5042556665519706739m_3440269965916649927styled-b=
y-prettify m_-4658453758191436845m_4561654010907287049m_-479831256068298980=
3gmail_msg m_-4658453758191436845gmail_msg">:</span><span style=3D"color:#0=
00" class=3D"m_-4658453758191436845m_4561654010907287049m_-4798312560682989=
803m_-5042556665519706739m_3440269965916649927styled-by-prettify m_-4658453=
758191436845m_4561654010907287049m_-4798312560682989803gmail_msg m_-4658453=
758191436845gmail_msg"> </span><span style=3D"color:#606" class=3D"m_-46584=
53758191436845m_4561654010907287049m_-4798312560682989803m_-504255666551970=
6739m_3440269965916649927styled-by-prettify m_-4658453758191436845m_4561654=
010907287049m_-4798312560682989803gmail_msg m_-4658453758191436845gmail_msg=
">List</span><span style=3D"color:#660" class=3D"m_-4658453758191436845m_45=
61654010907287049m_-4798312560682989803m_-5042556665519706739m_344026996591=
6649927styled-by-prettify m_-4658453758191436845m_4561654010907287049m_-479=
8312560682989803gmail_msg m_-4658453758191436845gmail_msg">[</span><span st=
yle=3D"color:#606" class=3D"m_-4658453758191436845m_4561654010907287049m_-4=
798312560682989803m_-5042556665519706739m_3440269965916649927styled-by-pret=
tify m_-4658453758191436845m_4561654010907287049m_-4798312560682989803gmail=
_msg m_-4658453758191436845gmail_msg">Int</span><span style=3D"color:#660" =
class=3D"m_-4658453758191436845m_4561654010907287049m_-4798312560682989803m=
_-5042556665519706739m_3440269965916649927styled-by-prettify m_-46584537581=
91436845m_4561654010907287049m_-4798312560682989803gmail_msg m_-46584537581=
91436845gmail_msg">]</span><span style=3D"color:#000" class=3D"m_-465845375=
8191436845m_4561654010907287049m_-4798312560682989803m_-5042556665519706739=
m_3440269965916649927styled-by-prettify m_-4658453758191436845m_45616540109=
07287049m_-4798312560682989803gmail_msg m_-4658453758191436845gmail_msg"> <=
/span><span style=3D"color:#660" class=3D"m_-4658453758191436845m_456165401=
0907287049m_-4798312560682989803m_-5042556665519706739m_3440269965916649927=
styled-by-prettify m_-4658453758191436845m_4561654010907287049m_-4798312560=
682989803gmail_msg m_-4658453758191436845gmail_msg">=3D</span><span style=
=3D"color:#000" class=3D"m_-4658453758191436845m_4561654010907287049m_-4798=
312560682989803m_-5042556665519706739m_3440269965916649927styled-by-prettif=
y m_-4658453758191436845m_4561654010907287049m_-4798312560682989803gmail_ms=
g m_-4658453758191436845gmail_msg"> </span><span style=3D"color:#606" class=
=3D"m_-4658453758191436845m_4561654010907287049m_-4798312560682989803m_-504=
2556665519706739m_3440269965916649927styled-by-prettify m_-4658453758191436=
845m_4561654010907287049m_-4798312560682989803gmail_msg m_-4658453758191436=
845gmail_msg">List</span><span style=3D"color:#660" class=3D"m_-46584537581=
91436845m_4561654010907287049m_-4798312560682989803m_-5042556665519706739m_=
3440269965916649927styled-by-prettify m_-4658453758191436845m_4561654010907=
287049m_-4798312560682989803gmail_msg m_-4658453758191436845gmail_msg">(</s=
pan><span style=3D"color:#066" class=3D"m_-4658453758191436845m_45616540109=
07287049m_-4798312560682989803m_-5042556665519706739m_3440269965916649927st=
yled-by-prettify m_-4658453758191436845m_4561654010907287049m_-479831256068=
2989803gmail_msg m_-4658453758191436845gmail_msg">3</span><span style=3D"co=
lor:#660" class=3D"m_-4658453758191436845m_4561654010907287049m_-4798312560=
682989803m_-5042556665519706739m_3440269965916649927styled-by-prettify m_-4=
658453758191436845m_4561654010907287049m_-4798312560682989803gmail_msg m_-4=
658453758191436845gmail_msg">,</span><span style=3D"color:#000" class=3D"m_=
-4658453758191436845m_4561654010907287049m_-4798312560682989803m_-504255666=
5519706739m_3440269965916649927styled-by-prettify m_-4658453758191436845m_4=
561654010907287049m_-4798312560682989803gmail_msg m_-4658453758191436845gma=
il_msg"> </span><span style=3D"color:#066" class=3D"m_-4658453758191436845m=
_4561654010907287049m_-4798312560682989803m_-5042556665519706739m_344026996=
5916649927styled-by-prettify m_-4658453758191436845m_4561654010907287049m_-=
4798312560682989803gmail_msg m_-4658453758191436845gmail_msg">2</span><span=
 style=3D"color:#660" class=3D"m_-4658453758191436845m_4561654010907287049m=
_-4798312560682989803m_-5042556665519706739m_3440269965916649927styled-by-p=
rettify m_-4658453758191436845m_4561654010907287049m_-4798312560682989803gm=
ail_msg m_-4658453758191436845gmail_msg">,</span><span style=3D"color:#000"=
 class=3D"m_-4658453758191436845m_4561654010907287049m_-4798312560682989803=
m_-5042556665519706739m_3440269965916649927styled-by-prettify m_-4658453758=
191436845m_4561654010907287049m_-4798312560682989803gmail_msg m_-4658453758=
191436845gmail_msg"> </span><span style=3D"color:#066" class=3D"m_-46584537=
58191436845m_4561654010907287049m_-4798312560682989803m_-504255666551970673=
9m_3440269965916649927styled-by-prettify m_-4658453758191436845m_4561654010=
907287049m_-4798312560682989803gmail_msg m_-4658453758191436845gmail_msg">1=
</span><span style=3D"color:#660" class=3D"m_-4658453758191436845m_45616540=
10907287049m_-4798312560682989803m_-5042556665519706739m_344026996591664992=
7styled-by-prettify m_-4658453758191436845m_4561654010907287049m_-479831256=
0682989803gmail_msg m_-4658453758191436845gmail_msg">)</span><span style=3D=
"color:#000" class=3D"m_-4658453758191436845m_4561654010907287049m_-4798312=
560682989803m_-5042556665519706739m_3440269965916649927styled-by-prettify m=
_-4658453758191436845m_4561654010907287049m_-4798312560682989803gmail_msg m=
_-4658453758191436845gmail_msg"><br class=3D"m_-4658453758191436845m_456165=
4010907287049m_-4798312560682989803gmail_msg m_-4658453758191436845gmail_ms=
g"><br class=3D"m_-4658453758191436845m_4561654010907287049m_-4798312560682=
989803gmail_msg m_-4658453758191436845gmail_msg"><br class=3D"m_-4658453758=
191436845m_4561654010907287049m_-4798312560682989803gmail_msg m_-4658453758=
191436845gmail_msg">scala</span><span style=3D"color:#660" class=3D"m_-4658=
453758191436845m_4561654010907287049m_-4798312560682989803m_-50425566655197=
06739m_3440269965916649927styled-by-prettify m_-4658453758191436845m_456165=
4010907287049m_-4798312560682989803gmail_msg m_-4658453758191436845gmail_ms=
g">&gt;</span><span style=3D"color:#000" class=3D"m_-4658453758191436845m_4=
561654010907287049m_-4798312560682989803m_-5042556665519706739m_34402699659=
16649927styled-by-prettify m_-4658453758191436845m_4561654010907287049m_-47=
98312560682989803gmail_msg m_-4658453758191436845gmail_msg"> </span><span s=
tyle=3D"color:#008" class=3D"m_-4658453758191436845m_4561654010907287049m_-=
4798312560682989803m_-5042556665519706739m_3440269965916649927styled-by-pre=
ttify m_-4658453758191436845m_4561654010907287049m_-4798312560682989803gmai=
l_msg m_-4658453758191436845gmail_msg">set</span><span style=3D"color:#660"=
 class=3D"m_-4658453758191436845m_4561654010907287049m_-4798312560682989803=
m_-5042556665519706739m_3440269965916649927styled-by-prettify m_-4658453758=
191436845m_4561654010907287049m_-4798312560682989803gmail_msg m_-4658453758=
191436845gmail_msg">.</span><span style=3D"color:#000" class=3D"m_-46584537=
58191436845m_4561654010907287049m_-4798312560682989803m_-504255666551970673=
9m_3440269965916649927styled-by-prettify m_-4658453758191436845m_4561654010=
907287049m_-4798312560682989803gmail_msg m_-4658453758191436845gmail_msg">m=
ap</span><span style=3D"color:#660" class=3D"m_-4658453758191436845m_456165=
4010907287049m_-4798312560682989803m_-5042556665519706739m_3440269965916649=
927styled-by-prettify m_-4658453758191436845m_4561654010907287049m_-4798312=
560682989803gmail_msg m_-4658453758191436845gmail_msg">(</span><span style=
=3D"color:#000" class=3D"m_-4658453758191436845m_4561654010907287049m_-4798=
312560682989803m_-5042556665519706739m_3440269965916649927styled-by-prettif=
y m_-4658453758191436845m_4561654010907287049m_-4798312560682989803gmail_ms=
g m_-4658453758191436845gmail_msg">identity</span><span style=3D"color:#660=
" class=3D"m_-4658453758191436845m_4561654010907287049m_-479831256068298980=
3m_-5042556665519706739m_3440269965916649927styled-by-prettify m_-465845375=
8191436845m_4561654010907287049m_-4798312560682989803gmail_msg m_-465845375=
8191436845gmail_msg">).</span><span style=3D"color:#000" class=3D"m_-465845=
3758191436845m_4561654010907287049m_-4798312560682989803m_-5042556665519706=
739m_3440269965916649927styled-by-prettify m_-4658453758191436845m_45616540=
10907287049m_-4798312560682989803gmail_msg m_-4658453758191436845gmail_msg"=
>toList<br class=3D"m_-4658453758191436845m_4561654010907287049m_-479831256=
0682989803gmail_msg m_-4658453758191436845gmail_msg">res2</span><span style=
=3D"color:#660" class=3D"m_-4658453758191436845m_4561654010907287049m_-4798=
312560682989803m_-5042556665519706739m_3440269965916649927styled-by-prettif=
y m_-4658453758191436845m_4561654010907287049m_-4798312560682989803gmail_ms=
g m_-4658453758191436845gmail_msg">:</span><span style=3D"color:#000" class=
=3D"m_-4658453758191436845m_4561654010907287049m_-4798312560682989803m_-504=
2556665519706739m_3440269965916649927styled-by-prettify m_-4658453758191436=
845m_4561654010907287049m_-4798312560682989803gmail_msg m_-4658453758191436=
845gmail_msg"> </span><span style=3D"color:#606" class=3D"m_-46584537581914=
36845m_4561654010907287049m_-4798312560682989803m_-5042556665519706739m_344=
0269965916649927styled-by-prettify m_-4658453758191436845m_4561654010907287=
049m_-4798312560682989803gmail_msg m_-4658453758191436845gmail_msg">List</s=
pan><span style=3D"color:#660" class=3D"m_-4658453758191436845m_45616540109=
07287049m_-4798312560682989803m_-5042556665519706739m_3440269965916649927st=
yled-by-prettify m_-4658453758191436845m_4561654010907287049m_-479831256068=
2989803gmail_msg m_-4658453758191436845gmail_msg">[</span><span style=3D"co=
lor:#606" class=3D"m_-4658453758191436845m_4561654010907287049m_-4798312560=
682989803m_-5042556665519706739m_3440269965916649927styled-by-prettify m_-4=
658453758191436845m_4561654010907287049m_-4798312560682989803gmail_msg m_-4=
658453758191436845gmail_msg">Int</span><span style=3D"color:#660" class=3D"=
m_-4658453758191436845m_4561654010907287049m_-4798312560682989803m_-5042556=
665519706739m_3440269965916649927styled-by-prettify m_-4658453758191436845m=
_4561654010907287049m_-4798312560682989803gmail_msg m_-4658453758191436845g=
mail_msg">]</span><span style=3D"color:#000" class=3D"m_-465845375819143684=
5m_4561654010907287049m_-4798312560682989803m_-5042556665519706739m_3440269=
965916649927styled-by-prettify m_-4658453758191436845m_4561654010907287049m=
_-4798312560682989803gmail_msg m_-4658453758191436845gmail_msg"> </span><sp=
an style=3D"color:#660" class=3D"m_-4658453758191436845m_456165401090728704=
9m_-4798312560682989803m_-5042556665519706739m_3440269965916649927styled-by=
-prettify m_-4658453758191436845m_4561654010907287049m_-4798312560682989803=
gmail_msg m_-4658453758191436845gmail_msg">=3D</span><span style=3D"color:#=
000" class=3D"m_-4658453758191436845m_4561654010907287049m_-479831256068298=
9803m_-5042556665519706739m_3440269965916649927styled-by-prettify m_-465845=
3758191436845m_4561654010907287049m_-4798312560682989803gmail_msg m_-465845=
3758191436845gmail_msg"> </span><span style=3D"color:#606" class=3D"m_-4658=
453758191436845m_4561654010907287049m_-4798312560682989803m_-50425566655197=
06739m_3440269965916649927styled-by-prettify m_-4658453758191436845m_456165=
4010907287049m_-4798312560682989803gmail_msg m_-4658453758191436845gmail_ms=
g">List</span><span style=3D"color:#660" class=3D"m_-4658453758191436845m_4=
561654010907287049m_-4798312560682989803m_-5042556665519706739m_34402699659=
16649927styled-by-prettify m_-4658453758191436845m_4561654010907287049m_-47=
98312560682989803gmail_msg m_-4658453758191436845gmail_msg">(</span><span s=
tyle=3D"color:#066" class=3D"m_-4658453758191436845m_4561654010907287049m_-=
4798312560682989803m_-5042556665519706739m_3440269965916649927styled-by-pre=
ttify m_-4658453758191436845m_4561654010907287049m_-4798312560682989803gmai=
l_msg m_-4658453758191436845gmail_msg">1</span><span style=3D"color:#660" c=
lass=3D"m_-4658453758191436845m_4561654010907287049m_-4798312560682989803m_=
-5042556665519706739m_3440269965916649927styled-by-prettify m_-465845375819=
1436845m_4561654010907287049m_-4798312560682989803gmail_msg m_-465845375819=
1436845gmail_msg">,</span><span style=3D"color:#000" class=3D"m_-4658453758=
191436845m_4561654010907287049m_-4798312560682989803m_-5042556665519706739m=
_3440269965916649927styled-by-prettify m_-4658453758191436845m_456165401090=
7287049m_-4798312560682989803gmail_msg m_-4658453758191436845gmail_msg"> </=
span><span style=3D"color:#066" class=3D"m_-4658453758191436845m_4561654010=
907287049m_-4798312560682989803m_-5042556665519706739m_3440269965916649927s=
tyled-by-prettify m_-4658453758191436845m_4561654010907287049m_-47983125606=
82989803gmail_msg m_-4658453758191436845gmail_msg">2</span><span style=3D"c=
olor:#660" class=3D"m_-4658453758191436845m_4561654010907287049m_-479831256=
0682989803m_-5042556665519706739m_3440269965916649927styled-by-prettify m_-=
4658453758191436845m_4561654010907287049m_-4798312560682989803gmail_msg m_-=
4658453758191436845gmail_msg">,</span><span style=3D"color:#000" class=3D"m=
_-4658453758191436845m_4561654010907287049m_-4798312560682989803m_-50425566=
65519706739m_3440269965916649927styled-by-prettify m_-4658453758191436845m_=
4561654010907287049m_-4798312560682989803gmail_msg m_-4658453758191436845gm=
ail_msg"> </span><span style=3D"color:#066" class=3D"m_-4658453758191436845=
m_4561654010907287049m_-4798312560682989803m_-5042556665519706739m_34402699=
65916649927styled-by-prettify m_-4658453758191436845m_4561654010907287049m_=
-4798312560682989803gmail_msg m_-4658453758191436845gmail_msg">3</span><spa=
n style=3D"color:#660" class=3D"m_-4658453758191436845m_4561654010907287049=
m_-4798312560682989803m_-5042556665519706739m_3440269965916649927styled-by-=
prettify m_-4658453758191436845m_4561654010907287049m_-4798312560682989803g=
mail_msg m_-4658453758191436845gmail_msg">)</span><span style=3D"color:#000=
" class=3D"m_-4658453758191436845m_4561654010907287049m_-479831256068298980=
3m_-5042556665519706739m_3440269965916649927styled-by-prettify m_-465845375=
8191436845m_4561654010907287049m_-4798312560682989803gmail_msg m_-465845375=
8191436845gmail_msg"><br class=3D"m_-4658453758191436845m_45616540109072870=
49m_-4798312560682989803gmail_msg m_-4658453758191436845gmail_msg"><br clas=
s=3D"m_-4658453758191436845m_4561654010907287049m_-4798312560682989803gmail=
_msg m_-4658453758191436845gmail_msg"></span><span class=3D"m_-465845375819=
1436845m_4561654010907287049m_-4798312560682989803m_-5042556665519706739m_3=
440269965916649927styled-by-prettify m_-4658453758191436845m_45616540109072=
87049m_-4798312560682989803gmail_msg m_-4658453758191436845gmail_msg"><font=
 class=3D"m_-4658453758191436845m_4561654010907287049m_-4798312560682989803=
gmail_msg m_-4658453758191436845gmail_msg" color=3D"#000000"><div class=3D"=
m_-4658453758191436845m_4561654010907287049m_-4798312560682989803m_-5042556=
665519706739m_3440269965916649927subprettyprint m_-4658453758191436845m_456=
1654010907287049m_-4798312560682989803gmail_msg m_-4658453758191436845gmail=
_msg">scala&gt; set.ordering</div><div class=3D"m_-4658453758191436845m_456=
1654010907287049m_-4798312560682989803m_-5042556665519706739m_3440269965916=
649927subprettyprint m_-4658453758191436845m_4561654010907287049m_-47983125=
60682989803gmail_msg m_-4658453758191436845gmail_msg">res3: Ordering[Int] =
=3D scala.math.Ordering$$anon$4@<wbr>3ff3275b</div><div class=3D"m_-4658453=
758191436845m_4561654010907287049m_-4798312560682989803m_-50425566655197067=
39m_3440269965916649927subprettyprint m_-4658453758191436845m_4561654010907=
287049m_-4798312560682989803gmail_msg m_-4658453758191436845gmail_msg"><br =
class=3D"m_-4658453758191436845m_4561654010907287049m_-4798312560682989803g=
mail_msg m_-4658453758191436845gmail_msg"></div><div class=3D"m_-4658453758=
191436845m_4561654010907287049m_-4798312560682989803m_-5042556665519706739m=
_3440269965916649927subprettyprint m_-4658453758191436845m_4561654010907287=
049m_-4798312560682989803gmail_msg m_-4658453758191436845gmail_msg">scala&g=
t; set.map(identity).ordering</div><div class=3D"m_-4658453758191436845m_45=
61654010907287049m_-4798312560682989803m_-5042556665519706739m_344026996591=
6649927subprettyprint m_-4658453758191436845m_4561654010907287049m_-4798312=
560682989803gmail_msg m_-4658453758191436845gmail_msg">res4: Ordering[Int] =
=3D scala.math.Ordering$Int$@<wbr>7fa85a55</div></font></span></div></code>=
</div><div class=3D"m_-4658453758191436845m_4561654010907287049m_-479831256=
0682989803gmail_msg m_-4658453758191436845gmail_msg"><div class=3D"m_-46584=
53758191436845m_4561654010907287049m_-4798312560682989803gmail_msg m_-46584=
53758191436845gmail_msg"><br class=3D"m_-4658453758191436845m_4561654010907=
287049m_-4798312560682989803gmail_msg m_-4658453758191436845gmail_msg"></di=
v><div class=3D"m_-4658453758191436845m_4561654010907287049m_-4798312560682=
989803gmail_msg m_-4658453758191436845gmail_msg">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.</div></div><div =
class=3D"m_-4658453758191436845m_4561654010907287049m_-4798312560682989803g=
mail_msg m_-4658453758191436845gmail_msg"><br class=3D"m_-46584537581914368=
45m_4561654010907287049m_-4798312560682989803gmail_msg m_-46584537581914368=
45gmail_msg"></div><div class=3D"m_-4658453758191436845m_456165401090728704=
9m_-4798312560682989803gmail_msg m_-4658453758191436845gmail_msg">i.e. Prov=
ide a CanBuildFrom[Sorted[K, _], K, Sorted[K, _]] somewhere that has preced=
ence over the more generic usual CanBuildFrom[CC[_], A, CC[A]]</div><div cl=
ass=3D"m_-4658453758191436845m_4561654010907287049m_-4798312560682989803gma=
il_msg m_-4658453758191436845gmail_msg"><br class=3D"m_-4658453758191436845=
m_4561654010907287049m_-4798312560682989803gmail_msg m_-4658453758191436845=
gmail_msg"></div><div class=3D"m_-4658453758191436845m_4561654010907287049m=
_-4798312560682989803gmail_msg m_-4658453758191436845gmail_msg">I&#39;m not=
 sure how it could be done, but the static overloading resolution rules mak=
e this possible, I think.</div></div></blockquote></div></div><div class=3D=
"gmail_extra m_-4658453758191436845m_4561654010907287049m_-4798312560682989=
803gmail_msg m_-4658453758191436845gmail_msg"><div class=3D"gmail_quote m_-=
4658453758191436845m_4561654010907287049m_-4798312560682989803gmail_msg m_-=
4658453758191436845gmail_msg"><blockquote class=3D"gmail_quote m_-465845375=
8191436845m_4561654010907287049m_-4798312560682989803gmail_msg m_-465845375=
8191436845gmail_msg" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;=
padding-left:1ex"><span class=3D"m_-4658453758191436845m_456165401090728704=
9m_-4798312560682989803m_-5042556665519706739HOEnZb m_-4658453758191436845m=
_4561654010907287049m_-4798312560682989803gmail_msg m_-4658453758191436845g=
mail_msg"><font class=3D"m_-4658453758191436845m_4561654010907287049m_-4798=
312560682989803gmail_msg m_-4658453758191436845gmail_msg" color=3D"#888888"=
>

<p class=3D"m_-4658453758191436845m_4561654010907287049m_-47983125606829898=
03gmail_msg m_-4658453758191436845gmail_msg"></p>

-- <br class=3D"m_-4658453758191436845m_4561654010907287049m_-4798312560682=
989803gmail_msg m_-4658453758191436845gmail_msg">
You received this message because you are subscribed to the Google Groups &=
quot;scala-language&quot; group.<br class=3D"m_-4658453758191436845m_456165=
4010907287049m_-4798312560682989803gmail_msg m_-4658453758191436845gmail_ms=
g">
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_-4658453758191436845m_4561654010907287049m_-4798312560682989803gmail=
_msg m_-4658453758191436845gmail_msg" target=3D"_blank">scala-language+unsu=
bscribe@<wbr>googlegroups.com</a>.</font></span></blockquote></div></div><d=
iv class=3D"gmail_extra m_-4658453758191436845m_4561654010907287049m_-47983=
12560682989803gmail_msg m_-4658453758191436845gmail_msg"><div class=3D"gmai=
l_quote m_-4658453758191436845m_4561654010907287049m_-4798312560682989803gm=
ail_msg m_-4658453758191436845gmail_msg"><blockquote class=3D"gmail_quote m=
_-4658453758191436845m_4561654010907287049m_-4798312560682989803gmail_msg m=
_-4658453758191436845gmail_msg" style=3D"margin:0 0 0 .8ex;border-left:1px =
#ccc solid;padding-left:1ex"><span class=3D"m_-4658453758191436845m_4561654=
010907287049m_-4798312560682989803m_-5042556665519706739HOEnZb m_-465845375=
8191436845m_4561654010907287049m_-4798312560682989803gmail_msg m_-465845375=
8191436845gmail_msg"><font class=3D"m_-4658453758191436845m_456165401090728=
7049m_-4798312560682989803gmail_msg m_-4658453758191436845gmail_msg" color=
=3D"#888888"><br class=3D"m_-4658453758191436845m_4561654010907287049m_-479=
8312560682989803gmail_msg m_-4658453758191436845gmail_msg">
For more options, visit <a href=3D"https://groups.google.com/d/optout" clas=
s=3D"m_-4658453758191436845m_4561654010907287049m_-4798312560682989803gmail=
_msg m_-4658453758191436845gmail_msg" target=3D"_blank">https://groups.goog=
le.com/d/<wbr>optout</a>.<br class=3D"m_-4658453758191436845m_4561654010907=
287049m_-4798312560682989803gmail_msg m_-4658453758191436845gmail_msg">
</font></span></blockquote></div></div>

<p class=3D"m_-4658453758191436845m_4561654010907287049m_-47983125606829898=
03gmail_msg m_-4658453758191436845gmail_msg"></p>

-- <br class=3D"m_-4658453758191436845m_4561654010907287049m_-4798312560682=
989803gmail_msg m_-4658453758191436845gmail_msg"></div></div>
You received this message because you are subscribed to a topic in the Goog=
le Groups &quot;scala-language&quot; group.<br class=3D"m_-4658453758191436=
845m_4561654010907287049m_-4798312560682989803gmail_msg m_-4658453758191436=
845gmail_msg">
To unsubscribe from this topic, visit <a href=3D"https://groups.google.com/=
d/topic/scala-language/Q5A1TTEZN4Q/unsubscribe" class=3D"m_-465845375819143=
6845m_4561654010907287049m_-4798312560682989803gmail_msg m_-465845375819143=
6845gmail_msg" target=3D"_blank">https://groups.google.com/d/<wbr>topic/sca=
la-language/<wbr>Q5A1TTEZN4Q/unsubscribe</a>.<br class=3D"m_-46584537581914=
36845m_4561654010907287049m_-4798312560682989803gmail_msg m_-46584537581914=
36845gmail_msg">
To unsubscribe from this group and all its topics, send an email to <a href=
=3D"mailto:[email protected]" class=3D"m_-4658453=
758191436845m_4561654010907287049m_-4798312560682989803gmail_msg m_-4658453=
758191436845gmail_msg" target=3D"_blank">scala-language+unsubscribe@<wbr>go=
oglegroups.com</a>.<span class=3D"m_-4658453758191436845gmail_msg"><br clas=
s=3D"m_-4658453758191436845m_4561654010907287049m_-4798312560682989803gmail=
_msg m_-4658453758191436845gmail_msg">
For more options, visit <a href=3D"https://groups.google.com/d/optout" clas=
s=3D"m_-4658453758191436845m_4561654010907287049m_-4798312560682989803gmail=
_msg m_-4658453758191436845gmail_msg" target=3D"_blank">https://groups.goog=
le.com/d/<wbr>optout</a>.<br class=3D"m_-4658453758191436845m_4561654010907=
287049m_-4798312560682989803gmail_msg m_-4658453758191436845gmail_msg">
</span></blockquote></div><div class=3D"m_-4658453758191436845m_45616540109=
07287049HOEnZb m_-4658453758191436845gmail_msg"><div class=3D"m_-4658453758=
191436845m_4561654010907287049h5 m_-4658453758191436845gmail_msg">

<p class=3D"m_-4658453758191436845gmail_msg"></p>

-- <br class=3D"m_-4658453758191436845gmail_msg">
You received this message because you are subscribed to the Google Groups &=
quot;scala-language&quot; group.<br class=3D"m_-4658453758191436845gmail_ms=
g">
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_-4658453758191436845gmail_msg" target=3D"_blank">scala-language+unsu=
bscribe@<wbr>googlegroups.com</a>.<br class=3D"m_-4658453758191436845gmail_=
msg">
For more options, visit <a href=3D"https://groups.google.com/d/optout" clas=
s=3D"m_-4658453758191436845gmail_msg" target=3D"_blank">https://groups.goog=
le.com/d/<wbr>optout</a>.<br class=3D"m_-4658453758191436845gmail_msg">
</div></div></blockquote></div><br class=3D"m_-4658453758191436845gmail_msg=
"><br class=3D"m_-4658453758191436845gmail_msg" clear=3D"all"><br class=3D"=
m_-4658453758191436845gmail_msg">-- <br class=3D"m_-4658453758191436845gmai=
l_msg"></div><div class=3D"gmail_extra m_-4658453758191436845gmail_msg"><di=
v class=3D"m_-4658453758191436845m_4561654010907287049gmail_signature m_-46=
58453758191436845gmail_msg" data-smartmail=3D"gmail_signature"><div dir=3D"=
ltr" class=3D"m_-4658453758191436845gmail_msg"><div class=3D"m_-46584537581=
91436845gmail_msg"><div dir=3D"ltr" class=3D"m_-4658453758191436845gmail_ms=
g"><div class=3D"m_-4658453758191436845gmail_msg"><div dir=3D"ltr" class=3D=
"m_-4658453758191436845gmail_msg"><div class=3D"m_-4658453758191436845gmail=
_msg"><div dir=3D"ltr" class=3D"m_-4658453758191436845gmail_msg"><div class=
=3D"m_-4658453758191436845gmail_msg">Oliver Ruebenacker<br class=3D"m_-4658=
453758191436845gmail_msg"></div><div class=3D"m_-4658453758191436845gmail_m=
sg">Senior Software Engineer, <a href=3D"http://www.type2diabetesgenetics.o=
rg/" class=3D"m_-4658453758191436845gmail_msg" target=3D"_blank">Diabetes P=
ortal</a>, <a href=3D"http://www.broadinstitute.org/" class=3D"m_-465845375=
8191436845gmail_msg" target=3D"_blank">Broad Institute</a><br class=3D"m_-4=
658453758191436845gmail_msg"></div><br class=3D"m_-4658453758191436845gmail=
_msg"></div></div></div></div></div></div></div></div>
</div>

<p class=3D"m_-4658453758191436845gmail_msg"></p>

-- <br class=3D"m_-4658453758191436845gmail_msg">
You received this message because you are subscribed to a topic in the Goog=
le Groups &quot;scala-language&quot; group.<br class=3D"m_-4658453758191436=
845gmail_msg">
To unsubscribe from this topic, visit <a href=3D"https://groups.google.com/=
d/topic/scala-language/Q5A1TTEZN4Q/unsubscribe" class=3D"m_-465845375819143=
6845gmail_msg" target=3D"_blank">https://groups.google.com/d/<wbr>topic/sca=
la-language/<wbr>Q5A1TTEZN4Q/unsubscribe</a>.<br class=3D"m_-46584537581914=
36845gmail_msg">
To unsubscribe from this group and all its topics, send an email to <a href=
=3D"mailto:[email protected]" class=3D"m_-4658453=
758191436845gmail_msg" target=3D"_blank">scala-language+unsubscribe@<wbr>go=
oglegroups.com</a>.<br class=3D"m_-4658453758191436845gmail_msg">
For more options, visit <a href=3D"https://groups.google.com/d/optout" clas=
s=3D"m_-4658453758191436845gmail_msg" target=3D"_blank">https://groups.goog=
le.com/d/<wbr>optout</a>.<br class=3D"m_-4658453758191436845gmail_msg">
</blockquote></div>

<p></p>

-- <br>
You received this message because you are subscribed to the Google Groups &=
quot;scala-language&quot; 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><br clear=3D"all"><br>-- <br><div class=
=3D"gmail_signature" data-smartmail=3D"gmail_signature"><div dir=3D"ltr"><d=
iv><div dir=3D"ltr"><div><div dir=3D"ltr"><div><div dir=3D"ltr"><div>Oliver=
 Ruebenacker<br></div><div>Senior Software Engineer, <a href=3D"http://www.=
type2diabetesgenetics.org/" target=3D"_blank">Diabetes Portal</a>, <a href=
=3D"http://www.broadinstitute.org/" target=3D"_blank">Broad Institute</a><b=
r></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&quot; 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 />

--001a1135ad22e5cccf0542861809--