ref: 6a2702fa848c89bf3d9d6cb366f0c838ea8fcd50
dir: /test/stdopt-mk.myr/
use std
const main = {args : byte[:][:]
match getoption(123)
`std.Some val: std.put("Got a value: %i\n", val);;
`std.None: std.put("No value returned\n");;
;;
}
const getoption = {val
match val
0: -> `std.None;;
_: -> `std.Some val;;
;;
}