You'll see the difference you make! Login and vote now.
By bloid
via wiki.workingmouse.com
Published: May 12 2008 / 07:44
A new data type appears in version 2.7.1 of the Scala Programming Language called scala.Either (hereon referred to as Either) that is used very often in every-day practical programming tasks. In a similar way that Scala's List and Option types are classes with one or more case class subtypes, so is Either — it has two case classes; Left and Right.
SaveShareSend
Tags: other languages
Comments
Christopher20 replied ago:
please blocked this user!!!!
andrewm replied ago:
>please blocked this user!!!!
care to elaborate? I personally found the writeup on scala disjoint types very interesting...
Andrew
Voters For This Link (8)
Voters Against This Link (1)