ligo/src/test/contracts/curry.mligo
2020-03-02 18:01:56 +01:00

6 lines
232 B
Plaintext

let conv_test (j : int) (k : int) = j + k
let main (i : int) : int = conv_test i 10
let partial (a : int) (b : int) : int = a + b
let mk_partial (j : int) : int -> int = partial j
let partial_apply (i : int) : int = mk_partial 10 i