Applies the hom X => A => B to another hom X => A.
X => A => B
X => A
The applied hom.
const applier = apply<string>()((str) => (radix: number) => parseInt(str, radix));expect(applier(parseInt)("11")).toStrictEqual(12); Copy
const applier = apply<string>()((str) => (radix: number) => parseInt(str, radix));expect(applier(parseInt)("11")).toStrictEqual(12);
Applies the hom
X => A => Bto another homX => A.