slides/Point.scala
changeset 308 e86add5a6961
parent 32 45557ad18ea6
child 481 e03a0100ec46
--- a/slides/Point.scala	Sat Nov 02 21:23:42 2019 +0000
+++ b/slides/Point.scala	Sun Nov 03 14:42:17 2019 +0000
@@ -1,1 +1,1 @@
-class Point(val x: Int, val y: Int)
+case class Point(val x: Int, val y: Int)