shithub: mc

ref: 073546effee37340cd682778536bb84a77110cad
dir: /test/stdopt-none.myr/

View raw version
use std

const f = {
	-> `std.None
}

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