Wat? Scala(dan.bodar.com)6 points·by taniswolfbane·13 ปีที่แล้ว·1 commentsdan.bodar.comWat? Scalahttp://dan.bodar.com/2013/12/04/wat-scala/1 commentsPost comment[–]onions·13 ปีที่แล้วreplyTo understand what is going on here, note that List(()).toSet() returns true.The "apply" method in Set introduces tricky issues for little benefit. It should have just been left as "contains".
The "apply" method in Set introduces tricky issues for little benefit. It should have just been left as "contains".