juan_gandhi: (Default)
[personal profile] juan_gandhi
Scala:
  scala> List(Set(1,2)).flatten == List(Set(2,1)).flatten
res3: Boolean = false


Бля.

Date: 2012-07-03 07:10 am (UTC)
From: [identity profile] sorhed.livejournal.com
Впрочем, действительно, не баг. Нужен SortedSet. Ещё в джаве был LinkedHashSet для таких целей.

Profile

juan_gandhi: (Default)
Juan-Carlos Gandhi

September 2025

S M T W T F S
 1 2345 6
78 9 10 111213
14 151617 181920
21222324252627
282930    

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Sep. 20th, 2025 06:33 pm
Powered by Dreamwidth Studios