Lifts down a Cat which contains a mapping function. It is useful to decompose a function in Cat.
Cat
A Cat which contains a mapping function.
An applied function which maps from Cat<T> to Cat<U>.
Cat<T>
Cat<U>
const sub = cat((numeral: string) => parseInt(numeral, 10));const actual = apply(sub)(cat("1024")).value;expect(actual).toStrictEqual(1024); Copy
const sub = cat((numeral: string) => parseInt(numeral, 10));const actual = apply(sub)(cat("1024")).value;expect(actual).toStrictEqual(1024);
Lifts down a
Catwhich contains a mapping function. It is useful to decompose a function inCat.