ligo/src/test/contracts/lambda2.mligo
John David Pressman 71989876db Fix a bug, test added:
A never accounted message was not adding anything to the map
2020-01-08 20:58:26 +00:00

9 lines
181 B
Plaintext

type storage = unit
(* Not supported yet:
let main (p:unit) storage = (fun x -> ()) ()
*)
let main (_: unit * storage) =
(fun (f: unit -> unit) -> f ()) (fun (_: unit) -> unit)