ref: 0dd5d1f71505ce3d8a51e8244cf3128c54eb8293
dir: /test/uconinit.myr/
use std
type u = union
`A
`B
`C int
;;
const a = [`A, `B, `C 123]
const main = {
for v in a
match v
| `A: std.put("A ")
| `B: std.put("B ")
| `C x: std.put("C {}\n", x)
;;
;;
std.put("\n")
}