import { newtype } from "https://deno.land/x/fun@v2.0.0-alpha.6/mod.ts";
const { getSemigroup } = newtype;
Retype an existing Semigroup from an inner type to a Newtype.
Type Parameters
T extends AnyNewtype
import { newtype } from "https://deno.land/x/fun@v2.0.0-alpha.6/mod.ts";
const { getSemigroup } = newtype;
Retype an existing Semigroup from an inner type to a Newtype.