mapLeft<L1, L2> function

TaskEither<L2, R> Function<R>(TaskEither<L1, R> taskEither) mapLeft<L1, L2>(
  1. L2 left(
    1. L1
    )
)

Implementation

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