ligo/src/test/contracts/closure.ligo

6 lines
173 B
Plaintext
Raw Normal View History

2019-05-12 20:56:22 +00:00
function toto (const i : int) : int is
block {
function tata (const j : int) : int is i+j;
function titi (const j : int) : int is i+j
} with tata (i) + titi (i)