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