shithub: mc

ref: 30ae6dbd5eb7c7f8c9c76a32723dd33c5f90978b
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
}