ligo/contracts/closure.ligo

12 lines
366 B
Plaintext
Raw Normal View History

2019-05-13 00:56:22 +04:00
function foo (const i : int) : int is
function bar (const j : int) : int is
block { skip } with i + j ;
block { skip } with bar (i)
function toto (const i : int) : int is
function tata (const j : int) : int is
block { skip } with i + j ;
function titi (const j : int) : int is
block { skip } with i + j ;
block { skip } with tata(i) + titi(i)