ref: 4db5274a2f6db10e31e11c503f36c85a98c65fbc
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))) }