mirror of
https://github.com/RoBaertschi/tt.git
synced 2025-04-16 05:53:30 +00:00
13 lines
160 B
Plaintext
13 lines
160 B
Plaintext
fn main(): i64 = {
|
|
test2(3, 0)
|
|
};
|
|
|
|
fn test2(until: i64, i: i64): i64 = {
|
|
if i >= until {
|
|
0
|
|
} else {
|
|
test2(until, i+1) + 1
|
|
}
|
|
};
|
|
|