shithub: mc

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