ligo/test.mligo
Pierre-Emmanuel Wulfman 660dcbb79f review 3
2020-03-12 16:05:17 +01:00

9 lines
251 B
Plaintext

let rec fibo2 ((n,n_1,n_0):int*int*int) : int =
let fibo2 : int -> int = fun (k : int) -> k in
if (n < 2) then n_1 else fibo2 3
let main (p,s : unit * int) : operation list * int =
let x : int = fibo2 (5, 1, 1) in
(([] : operation list), x)