ligo/src/test/contracts/expected/closure.mligo.expected

6 lines
147 B
Plaintext
Raw Normal View History

2020-06-05 12:51:37 +02:00
let test (k : int) : int =
let j : int = k + 5
in let close : int -> int = fun (i : int) -> i + j
in let j : int = 20
in close 20