ligo/contracts/variant.ligo
2019-05-12 20:57:30 +00: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)