shithub: mc

ref: c3d4ae24b48ae6f7ed07a34afa0eb7b709b4f103
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")
	;;
}