ref: 01c7435a00df771e724b857fc4d5d5c2c0730734
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
}