def foo[T, Coll[T]] = ??? ^^^ the same T def foo[T, Coll[T] <: Seq[T]] = ??? ^^^ not all the same T
-
-
Replying to @propensive
@propensive Sure, Seq is covariant. The signature of the first is odd though... an applied type constructor? Can you do that?2 replies 0 retweets 0 likes -
Replying to @nuttycom
@propensive Isn't the signature of the first equivalent to def foo[T, Coll[_]] = ???1 reply 0 retweets 0 likes -
Replying to @propensive
@propensive Actually, I think that the Ts in the second type parameter are meaningless in both cases.3 replies 0 retweets 0 likes
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.