You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Welcome to Scala version 2.11.0-M8 (JavaHotSpot(TM) 64-BitServerVM, Java1.7.0_51).
Type in expressions to have them evaluated.Type:help for more information.
scala>Set(-2147483648, 1, -45023380, -1, 1971207058, -54312241, -234243394) --1
res0: scala.collection.immutable.Set[Int] =Set(-2147483648, 1, -45023380, 1971207058, -54312241, -234243394)
scala> res0 == res0.toList.toSet
res1:Boolean=false
scala> res0.toList.toSet == res0
res2:Boolean=true
The text was updated successfully, but these errors were encountered:
kenji yoshida said:
with 2.11.0-20140210-135824-59fc37ade7
Welcome to Scala version 2.11.0-20140210-135824-59fc37ade7 (JavaHotSpot(TM) 64-BitServerVM, Java1.7.0_51).
Type in expressions to have them evaluated.
Type:help for more information.
scala>Set(-2147483648, 1, -45023380, -1, 1971207058, -54312241, -234243394) --1
res0: scala.collection.immutable.Set[Int] =Set(-2147483648, 1, -45023380, 1971207058, -54312241, -234243394)
scala> res0.toList.toSet == res0
res1:Boolean=true
scala> res0 == res0.toList.toSet
res2:Boolean=false
The text was updated successfully, but these errors were encountered: