ref: 0ac71592ef928ab7a301d5d1e4777a75c4f1580f
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")
;;
}