ligo/contracts/high-order.ligo
2019-05-12 20:57:30 +00: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) ;