getShowableThese
import { getShowableThese } from "https://github.gh-proxy.cn/raw.githubusercontent.com/baetheus/fun/main/these.ts";Create a Showable instance for These given Showable instances for the Left and Right types.
@example
import { getShowableThese, right, both } from "./these.ts";
const showable = getShowableThese(
{ show: (s: string) => s },
{ show: (n: number) => n.toString() }
);
console.log(showable.show(right(42))); // "Right(42)"
console.log(showable.show(both("Warning", 42))); // "Both(Warning, 42)"