shithub: mc

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