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