shithub: mc

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