left<L, R> function

TaskEither<L, R> left<L, R>(
  1. L a
)

Create a TaskEither that resolves to an Left.

Implementation

TaskEither<L, R> left<L, R>(L a) =>
    TaskEither(task.value(either.left<L, R>(a)));