mapLeft<L1, L2> function
Implementation
TaskEither<L2, R> Function<R>(
TaskEither<L1, R> taskEither,
) mapLeft<L1, L2>(
L2 Function(L1) left,
) =>
<L>(taskEither) => () => taskEither().then(E.mapLeft(left));
TaskEither<L2, R> Function<R>(
TaskEither<L1, R> taskEither,
) mapLeft<L1, L2>(
L2 Function(L1) left,
) =>
<L>(taskEither) => () => taskEither().then(E.mapLeft(left));