fix contrat religo

This commit is contained in:
Pierre-Emmanuel Wulfman 2020-03-07 02:54:57 +01:00
parent b15d9a5123
commit fa5983e9d3

View File

@ -1,5 +1,5 @@
// Test while loops in PascaLIGO // 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;} if (n < 1) {acc;}
else {fibo (n-1,acc+n);}; else {fibo ((n-1,acc+n));};