Scala: Case Class from tuple!

There is a way to create a Case Class using the tuple. Put another way: you can use a Case Class as a function to create values from tuples. // simple demo case class case class Klass(a: String, b: String) { println(a + b) } // usage // dot notation Klass.tupled(("hello", "world"…

Read More