ligo/src/test/contracts/michelson_insertion.mligo

6 lines
152 B
Plaintext
Raw Normal View History

2020-04-15 17:15:55 +02:00
// Test michelson insertion in CameLIGO
let michelson_add (n : nat) : nat =
2020-04-17 13:36:33 +02:00
let f : nat -> nat = [%Michelson ({| DUP;ADD |} : nat -> nat) ] in
f n