shithub: mc

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