ligo/contracts/high-order.ligo

7 lines
224 B
Plaintext
Raw Normal View History

2019-05-13 00:56:22 +04:00
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) ;