ref: ea3250341f4e4d02b0613be9fc228fac0f4c0e40
dir: /test/stdopt-mk.myr/
use std
const f = {x
if x == 123
-> `std.Some 42
else
-> `std.None
;;
}
const main = {
var v
v = f(123)
match v
| `std.Some x: std.exit(x)
| `std.None: std.exit(123)
;;
}