IOEither<L, R>.right constructor

IOEither<L, R>.right(
  1. R right
)

Build a IOEither that returns a Right(right).

Same of IOEither.of.

Implementation

factory IOEither.right(R right) => IOEither(() => Either.of(right));