ref: f15c3cc3fc96cc9cd383f53d6dd662bfb835a1b2
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")
;;
}