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