progs/lecture2.scala
changeset 77 3cbe3d90b77f
parent 76 bc0e0aa4dee1
child 95 4fa7231fede7
--- a/progs/lecture2.scala	Thu Dec 01 12:19:52 2016 +0000
+++ b/progs/lecture2.scala	Thu Dec 01 13:50:36 2016 +0000
@@ -207,6 +207,10 @@
  
 println(season("November"))
 
+// What happens if no case matches?
+
+println(season("foobar"))
+
 // User-defined Datatypes
 //========================