--- 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)