aboutsummaryrefslogtreecommitdiffstats
path: root/research/experiments/044-specs/probes-027/p6b-variant-field.aup
blob: 2b1504a70b32f3865d5b3cecd2d77b8003d67648 (plain)
1
2
3
4
5
6
7
8
9
10
11
record Leaf {
  v = 0
}
variant X {
  leaf(Leaf)
  word(text)
}
record Holder {
  x: X
}
state xs: list of Holder