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.
1 parent 541ebf5 commit 90c5ea8Copy full SHA for 90c5ea8
src/main/scala/scalatutorial/sections/TailRecursion.scala
@@ -49,7 +49,10 @@ object TailRecursion extends ScalaTutorialSection {
49
* gcd(21, 14)
50
* if (14 == 0) 21 else gcd(14, 21 % 14)
51
* if (false) 21 else gcd(14, 21 % 14)
52
+ * gcd(14, 21 % 14)
53
* gcd(14, 7)
54
+ * if (7 == 0) 14 else gcd(7, 14 % 7)
55
+ * if (false) 14 else gcd (7, 14 % 7)
56
* gcd(7, 14 % 7)
57
* gcd(7, 0)
58
* if (0 == 0) 7 else gcd(0, 7 % 0)
0 commit comments