shithub: mc

ref: 64046d70836a316dd7ea1fc544cf5e30cb41b947
dir: /test/matchmixed.myr/

View raw version
use std

type u = union
	`A
	`B
;;

const main = {
	match "asdf"
	`A:	std.put("Got a\n");;
	`B:	std.put("Got b\n");;
	;;
	-> 42
}