ligo/src/contracts/high-order.ligo
2019-05-14 17:53:44 +02:00

7 lines
224 B
Plaintext

function foobar (const i : int) : int is
function foo (const i : int) : int is
block { skip } with i ;
function bar (const f : int -> int) : int is
block { skip } with f ( i ) ;
block { skip } with bar (foo) ;