map<R1, R2> function

TaskEither<L, R2> Function<L>(TaskEither<L, R1> taskEither) map<R1, R2>(
  1. R2 right(
    1. R1
    )
)

Implementation

TaskEither<L, R2> Function<L>(
  TaskEither<L, R1> taskEither,
) map<R1, R2>(
  R2 Function(R1) right,
) =>
    <L>(taskEither) => () => taskEither().then(E.map(right));