Scala Intersection Types (video)
In this free Scala training video I demonstrate Intersection Types. Where Union Types represent one of a number of possible types, an intersection type is a combination of two or more types.
In this video I show how to use intersection types to specify function input parameters and function return values.
Update: All of my new videos are now on
LearnScala.dev