ligo/src/test/contracts/michelson_insertion.mligo

6 lines
136 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 =
let f : nat -> nat = [%Michelson {| DUP;ADD |}] in
f n