What is Variance, the connection between Types & Variance and how Scala supports it?
Deep dive into types of Variances and how they relate to Functions.
can to do with a value of type B one should also be able to do with a value of type A. How it’s going • Let functionQ(x) be a property provable about objects x of type B . • Then functionQ(y) should be provable for objects y of type A where A .: B