ligo/src/test/contracts/fibo.mligo
2020-03-02 18:01:56 +01:00

10 lines
252 B
Plaintext

type storage = unit
let main (p, store : unit * storage) : operation list * storage =
let n =
(fun (f : int * int -> int) (x : int) (y : int) -> f (y,x))
(fun (x : int) (y : int) -> x + y)
0
1
in ([] : operation list), store