Created
November 23, 2010 03:30
-
-
Save kmizu/711187 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
val seq: Seq[Int] = List(1, 2, 3) | |
println(seq eq seq.toList) // seq.toListはthisを返す(型だけが変わるので、同じインスタンス) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment