ligo/test/contracts/lambda2.mligo

11 lines
197 B
Plaintext
Raw Normal View History

2019-06-06 22:48:36 +04:00
type storage = unit
(* not supported yet
let%entry main (p:unit) storage =
(fun x -> ()) ()
*)
let%entry main (p:unit) storage =
(fun (f : unit -> unit) -> f ())
(fun (x : unit) -> unit)