ref: 0dd5d1f71505ce3d8a51e8244cf3128c54eb8293
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 = %i\n", try(fail(123))) }