shithub: mc

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