HTML5 Canvas
Written by: Simon Sarris
Featured Refcardz: Top Refcardz:
  1. Apache Hadoop
  2. Web Driver
  3. MVVM
  4. REST
  5. ADO.NET
  1. HTML5
  2. Ajax
  3. jQuery Selectors
  4. CSS Part 1
  5. Git

Link Details

Link 80484 thumbnail
User 111696 avatar

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.
  • 8
  • 1
  • 1338
  • 0

Comments

Add your comment
User 285735 avatar

Christopher20 replied ago:

0 votes Vote down Vote up Reply

please blocked this user!!!!

User 85500 avatar

andrewm replied ago:

0 votes Vote down Vote up Reply

>please blocked this user!!!!

care to elaborate? I personally found the writeup on scala disjoint types very interesting...

Andrew

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Voters For This Link (8)



Voters Against This Link (1)