shithub: mc

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