ligo/src/test/contracts/variant.mligo

11 lines
138 B
Plaintext
Raw Normal View History

type foobar =
| Foo of int
| Bar of bool
| Kee of nat
let foo : foobar = Foo 42
let bar : foobar = Bar true
let kee : foobar = Kee 23p