ref: 5b36d5c8a69402c36d272e0edbbc24c50bf5e1dc
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")
;;
}