mirror of
https://github.com/nim-lang/Nim.git
synced 2026-04-18 21:40:32 +00:00
Update tut1.txt
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user