ref: 5007bc86a71fb725fe586acfc0d320e8f50c22b9
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")
;;
}