Applies the function to transform the result of the computation.
const actual = evalCont(mapCont((x: number) => x + 1)(pure(42)));expect(actual).toStrictEqual(43); Copy
const actual = evalCont(mapCont((x: number) => x + 1)(pure(42)));expect(actual).toStrictEqual(43);
Applies the function to transform the result of the computation.
Examples