shithub: mc

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