Either<L, R>.left constructor

const Either<L, R>.left(
  1. L value
)

Represents the left side of the disjoint union (by convention, an error).

Implementation

const factory Either.left(L value) = Left;