ligo/src/test/contracts/function-shared.mligo

6 lines
172 B
Plaintext
Raw Normal View History

(* Test use of multiple subroutines in a CameLIGO function *)
2020-02-27 17:51:29 +01:00
let foo (i : int) : int = i + 20
let bar (i : int) : int = i + 50
let foobar (i : int) : int = foo i + bar i