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