ligo/src/test/contracts/lambda2.religo

11 lines
241 B
Plaintext
Raw Normal View History

2019-12-10 13:47:31 +00:00
type storage = unit;
/* Not supported yet:
let main (p:unit) storage = (fun x -> ()) ()
*/
let main2 = (z: unit, s: storage) =>
2019-12-10 13:47:31 +00:00
((f: (unit => unit)) => f())((z: unit) => unit);
let main = (x: (unit, storage)) => main2(x[0],x[1]);