shithub: mc

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