pure<L, R, R2> function

TaskEither<L, R2> Function(TaskEither<L, R> taskEither) pure<L, R, R2>(
  1. R2 a
)

Replace the TaskEither with one that resolves to an Right containing the given value.

Implementation

TaskEither<L, R2> Function(TaskEither<L, R> taskEither) pure<L, R, R2>(R2 a) =>
    (taskEither) => right(a);