ligo/src/test/contracts/counter.ligo
2020-02-10 19:27:58 +01:00

8 lines
211 B
Plaintext

type t is int
function main (const p : int ; const s : t) : list (operation) * int is
block {
skip
} // skip is a do nothing instruction, needed for empty blocks
with ((nil : list(operation)), p + s)