ligo/src/contracts/variant.ligo
2019-05-14 17:53:44 +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)