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