shithub: mc

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