ligo/src/test/contracts/michelson_insertion.mligo

5 lines
143 B
Plaintext
Raw Normal View History

2020-04-15 17:15:55 +02:00
// Test michelson insertion in CameLIGO
2020-04-18 17:02:48 +02:00
let michelson_add (n : nat * nat) : nat =
2020-05-27 19:48:17 +02:00
[%Michelson ({| { UNPAIR;ADD } |} : nat * nat -> nat) ] n