ligo/src/test/contracts/variant.ligo
2019-09-15 13:12:19 +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)