shithub: mc

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