shithub: mc

ref: 198c1fec67b329f01e7c41244bcdde7b059a7d38
dir: /test/stdopt-none.myr/

View raw version
use std

const f = {
	-> `std.None
}

const main = {
	match f()
	| `std.Some x:	std.exit(x)
	| `std.None:	std.exit(42)
	;;
}