shithub: mc

ref: 5131214c8ddbd9a4f3a4b6c9acef575985ff867d
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)
	;;
}