ref: 1c91b60dd309df7579a781e9ef3888cc6bd3484c
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 = %i\n", v)
| `std.None: std.die("Unreachable\n")
;;
}