shithub: mc

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