C, D> method
- C mLeft(
- L l
- D mRight(
- R r
Define two functions to change both the Left and Right value of the TaskEither.
mapLeft but for both Left and Right
map is only to change Right, while
mapLeft is only to change Left).
TaskEither<C, D> bimap<C, D>(C Function(L l) mLeft, D Function(R r) mRight) => mapLeft(mLeft).map(mRight);