Maps both the return value and final state of the computation by fn.
fn
The mapper of computation from A to B on M with state S.
A
B
M
S
The mapped computation.
Generated using TypeDoc
Maps both the return value and final state of the computation by
fn
.