ligo/src/test/contracts/counter.ligo

8 lines
211 B
Plaintext
Raw Normal View History

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