shithub: mc

ref: bef1877e245cc389dacbf1abafc174716337334d
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
}