shithub: mc

ref: 059eaf0d4366d07da1caa936ebdb5496bb7626b6
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
}