It shouldn't be unreasonable to assume that, val vector = List(1, 2, 3).to[Vector] vector(1) ought to be replaceable with, List(1, 2, 3).to[Vector](1) It can't right now, and I think this is a significant part of the reason why the abstraction of implicit parameters is leaky.
-
Show this thread
-
This Tweet is unavailable.
-
Replying to @jdegoes @propensive
There's probably a CanBuildFrom in there.
1 reply 0 retweets 3 likes
Yep, that's exactly what's in there! I don't mind learning about CanBuildFrom, but I don't think this is the best way to discover it!
6:20 AM - 25 May 2018
from Milan, Lombardy
0 replies
0 retweets
5 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.