shithub: mc

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