shithub: mc

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