Scala - Either/Left/Right with Examples
Either[A, B] is an algebraic data type that represents a value of one of two possible types. It has exactly two subtypes: Left and Right. By convention, Left represents failure or error cases while…
Read more →