shithub: mc

ref: 076f4d371d887d25c3ac3851589f161131f57c88
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)
}