We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d8ee78e + db1e8c2 commit 1f435d5Copy full SHA for 1f435d5
src/main/scala/scalatutorial/sections/TailRecursion.scala
@@ -35,10 +35,12 @@ object TailRecursion extends ScalaTutorialSection {
35
* gcd(21, 14 % 21)
36
* gcd(21, 14)
37
* if (14 == 0) 21 else gcd(14, 21 % 14)
38
+ * if (false) 21 else gcd(14, 21 % 14)
39
* gcd(14, 7)
40
* gcd(7, 14 % 7)
41
* gcd(7, 0)
42
* if (0 == 0) 7 else gcd(0, 7 % 0)
43
+ * if (true) 7 else gcd(0, 7 % 0)
44
* 7
45
* }}}
46
*
0 commit comments