It does, but your answer makes me feel I've missed something obvious - it seemed less intuitive to me that the runtime type of Seq(1) was List than that of List(1)...
-
-
You’re not testing the “right” thing. Write a method that takes a Seq, then pass a mutable.Seq. This compiles but isn’t coherent with what you’d expect, since unqualified Map, say, is immutable.
-
I was trying to explain why you might have linked the 2.10 docs...
- Show replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.