ref: 63ee97c65c38dfd6a8100e8386610b10cb2c0d77
dir: /test/genericmake.myr/
use std
type t(@ty) = union
`Some @ty
`None
;;
const make = {v
-> `Some v
}
const main = {
var x
x = make(123)
match x
| `Some v: std.put("val = {}\n", v)
| `None: std.die("Unreachable\n")
;;
}