What I'm not clear about is when you'd use one form over the other. My natural inclination would be to use the second exclusively, but I'm pretty sure I'm missing something.
--
Alan Burlison
--
That's a great motto. <:< can help you bridge a type inference issue. <: should be preferred.
The Traversable example is, I believe, fixed in 2.10.
scala> :paste// Entering paste mode (ctrl-D to finish)class Lest[A](xs: List[A]) {def toMap[B, C, Dummy >: A <: (B, C)] : Map[B, C] = {Map.empty[B, C] ++ (xs : List[Dummy])}}val l = new Lest(List((3, 4), (1, 9)))l.toMap[Int, Int, (Int, Int)]// Exiting paste mode, now interpreting.
defined class Lestl: Lest[(Int, Int)] = Lest@152b4053res14: Map[Int,Int] = Map(3 -> 4, 1 -> 9)