shithub: mc

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