ligo/test/contracts/variant.ligo
2019-09-09 11:47:42 +02:00

11 lines
151 B
Plaintext

type foobar is
| Foo of int
| Bar of bool
| Kee of nat
const foo : foobar = Foo (42)
const bar : foobar = Bar (True)
const kee : foobar = Kee (23n)