ligo/test/contracts/counter.ligo

7 lines
223 B
Plaintext
Raw Normal View History

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