bimap<L1, L2, R1, R2> function
TaskEither<L2, R2> Function(TaskEither<L1, R1> taskEither)
bimap<L1, L2, R1, R2>({
- required L2 left(
- L1
- required R2 right(
- R1
Implementation
TaskEither<L2, R2> Function(
TaskEither<L1, R1> taskEither,
) bimap<L1, L2, R1, R2>({
required L2 Function(L1) left,
required R2 Function(R1) right,
}) =>
(taskEither) => () => taskEither().then(
E.bimap(
left: left,
right: right,
),
);