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

6 lines
173 B
Plaintext

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)