fix contrat religo
This commit is contained in:
parent
b15d9a5123
commit
fa5983e9d3
@ -1,5 +1,5 @@
|
||||
// Test while loops in PascaLIGO
|
||||
|
||||
let rec fibo = (n : int, acc: int): int =>
|
||||
let rec fibo = ((n, acc) : (int,int)): int =>
|
||||
if (n < 1) {acc;}
|
||||
else {fibo (n-1,acc+n);};
|
||||
else {fibo ((n-1,acc+n));};
|
||||
|
Loading…
Reference in New Issue
Block a user