ref: 6f1419495d556e914f5a4afa05c5f3cc8b0e1849
dir: /test/genericchain.myr/
use std generic fail = {val : @a -> `std.Some val } generic try = {opt : std.option(@b) match opt | `std.Some v: -> v | `std.None: std.die("Badness\n") ;; } const main = { std.put("val = {}\n", try(fail(123))) }