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