shithub: mc

ref: 65f6675040a4c29da1bd387e7dc22c823a69da97
dir: /test/voidmatch.myr/

View raw version
use std

const main = {
	match `std.Some void
	| `std.Some x:	std.put("ok\n")
	| `std.None:	std.put("fail\n")
	;;
}