You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/MutualRecursion.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -56,7 +56,7 @@ F = λ f . f (λn.(IsZero n) True (F (λ x y . y) (Pred n))) (λn.(IsZero n) Fal
56
56
````
57
57
There are no explicit references to `IsEven` or `IsOdd` in this equation. This is a definition of `F` that includes references to `F` in its body - i.e. this is an example of simple recursion.
58
58
59
-
Now we produce a non-recursive definition of `F` by following the procedure for [simple recursion](./SimpleRecursion.md) - let's call the result `F'`. The final step is to re-use the equations above for `IsEven` and `IsOdd` (but with `F'` instead of the equivalent `F`) :
59
+
Now we produce a non-recursive definition of `F` by following the procedure for [simple recursion](./SimpleRecursion.md) - let's call the result `F'`. The final step is to re-use the equations above for `IsEven` and `IsOdd` (but with using the non-recursive `F'` instead of the equivalent `F`) :
0 commit comments