News for hackers. Stuff that matters.
Re:Martin Odersky (Scala creator) launches company to commer... by pdhborges on Friday May 13, 2011 @05:12AM (#2544066)
for loops are also syntactic sugar and the case class matching thing

    case class Lol (a: Int, b: Int)

    Lol(2, 3) match {
       case x Lol y => x
    }

There are no comments on this comment yet.