shithub: mc

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