ref: b0886832a75e9d63f49cb878ed8abc56f37120c0
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
}