ref: 3dc71f6baaf6ff6a7e5a41fd89ea3ec2c7bdf88c
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
}