ligo/src/contracts/fibo.mligo

13 lines
245 B
Plaintext
Raw Normal View History

type storage = unit
(* not supported yet
let%entry main (p:unit) storage =
(fun x -> ()) ()
*)
let%entry main (p:unit) storage =
(fun (f : int -> int -> int) (x : int) (y : int) -> f y (x + y))
(fun (x : int) (y : int) -> x + y)
0
1