shithub: mc

ref: 01c7435a00df771e724b857fc4d5d5c2c0730734
dir: /test/mkunion.myr/

View raw version
use std
/* checks that union creation works. exits with 0. */
type u = union
	`Some int
	`None
;;

const main = {
	var v

	v = `Some 123
	-> 0
}