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