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
} case class Lol (a: Int, b: Int)
Lol(2, 3) match {
case x Lol y => x
}No comments yet.