ref: 96c22e7e846b1aecc6acbf75b15eedf53923fdd1
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
| `std.Some v: std.put("val = {}\n", v)
| `std.None: std.die("Unreachable\n")
;;
}