shithub: mc

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