shithub: mc

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