use-site variance

Scala Generics

Scala Generics III: Generalized type constraints

This is the third article in our series of Scala Generics ( we have already looked at upper and lower Scala Type bounds, Covariance and Contravariance) and today we are going to talk about constraints, to be more specific about generalized … Read More

Scala Type Bounds

Scala Generics I: Scala type bounds

Generic types in Scala Generic types, abstract types, scala type bounds, all these concepts are unusual for software developers who are coming from languages in which the generics are not (or barely) used, so in this first article, we will … Read More

Secured By miniOrange