shithub: mc

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