3 ms·
It's not really about specialization (types in Scala tend to be parametric most of the time) so much as just being able to have values in types, so that you can
by lmm 6y ago
It's not really about specialization (types in Scala tend to be parametric most of the time) so much as just being able to have values in types, so that you can have types like "ListOfLength[1]" or "MapContainingKeys["Foo" :: "Bar" :: Nil]" without having to do some horrendous encoding of those things as types.