The following article provides a list of all the different type parameterisations available in Scala and how to use them. Variance A class can depend on a type constructor. The following is an example trait that depends on a generic type T: The above declaration implies that the generic type T is the only valid… Continue reading Type Parameterisation