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