ref: e625989736fb218b9e5b3792b130d84db4ae4f8d
dir: /test/generictype.myr/
/* checks that parameterized types work. exits with 0. */
type option(@a) = union
`Some @a
`None
;;
const main = {
var v
v = `Some 123
match v
`None: -> 1;;
`Some 123: -> 0;;
;;
-> 60
}