Run a block that uses yieldResult; returns the final Result or the first Err.
Result
const out = tryGen(() => { const a = $(parseA()); const b = $(parseB()); return ok(a + b);}); Copy
const out = tryGen(() => { const a = $(parseA()); const b = $(parseB()); return ok(a + b);});
Run a block that uses yieldResult; returns the final
Resultor the first Err.