ligo/test/contracts/letin.mligo
2019-09-09 11:47:42 +02:00

8 lines
174 B
Plaintext

type storage = int * int
let%entry main (n: int) storage =
let x : int * int =
let x : int = 7
in x + n, storage.(0) + storage.(1)
in (([] : operation list), x)