shithub: mc

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