ref: e0f3c2226a618f63776061b3629d97c49679702b 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: -> x | `std.None: -> 123 ;; }