progs/app6.scala
changeset 422 5deefcc8cffa
parent 412 1cef3924f7a2
child 435 e08431a78f66
--- a/progs/app6.scala	Tue Aug 23 23:12:55 2016 +0200
+++ b/progs/app6.scala	Tue Sep 20 12:24:29 2016 +0100
@@ -1,4 +1,4 @@
-def simp(r: Rexp): Rexp = r match {
+def simp(r: Rexp) : Rexp = r match {
   case ALT(r1, r2) => {
     (simp(r1), simp(r2)) match {
       case (ZERO, r2s) => r2s