shithub: mc

ref: 133e0113e998eacbb469db5e773552ed69c85a55
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")
	;;
	std.exit(42)
}