shithub: mc

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