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