3 ms·
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 }
by pdhborges 15y ago
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
}