Update tut1.txt
This commit is contained in:
parent
abe1051374
commit
5e2d7e81a2
1 changed files with 1 additions and 1 deletions
|
|
@ -764,7 +764,7 @@ However, this cannot be done for mutually recursive procedures:
|
|||
|
||||
proc even(n: int): bool =
|
||||
if n == 1:
|
||||
true
|
||||
false
|
||||
n == 0 or odd(n-1)
|
||||
|
||||
Here ``odd`` depends on ``even`` and vice versa. Thus ``even`` needs to be
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue