shithub: mc

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