shithub: mc

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