progs/lecture1.scala
changeset 272 da3d30ae67ec
parent 268 e43f7e92ba26
child 273 b19227660752
--- a/progs/lecture1.scala	Tue Aug 06 12:46:27 2019 +0100
+++ b/progs/lecture1.scala	Wed Aug 07 14:32:21 2019 +0100
@@ -258,10 +258,7 @@
 
 def gcd(a: Int, b: Int) : Int = {
   if (b == 0) a 
-  else {
-    val foo = 42
-    gcd(b, a % b)
-  }  
+  else  gcd(b, a % b)
 }
 
 gcd(48, 18)