Const
Runs the computation with the identity from R to R.
R
The computation.
The running result.
const actual = evalCont<number>(pure(42));expect(actual).toStrictEqual(42); Copy
const actual = evalCont<number>(pure(42));expect(actual).toStrictEqual(42);
Runs the computation with the identity from
RtoR.