The applied hom.
import { apply } from "./func.ts";
import { assertEquals } from "../deps.ts";
const applier = apply<string>()((str) => (radix: number) =>
parseInt(str, radix)
);
assertEquals(applier(parseInt)("11"), 12);
Generated using TypeDoc
Applies the hom
X => A => B
to another homX => A
.