ref: 64141a6e1d3bd0c0d648563e9333d3395fd7df86
dir: /libstd/try.myr/
use "option.use"
use "fmt.use"
pkg std =
generic try : (v : option(@a) -> @a)
;;
generic try = {v
match v
| `Some x: -> x
| `None: fatal(1, "expected `Some @a, got `None\n")
;;
}