Tuple8EitherOps<E, T1, T2, T3, T4, T5, T6, T7, T8> extension

Provides additional functions on tuple with 8 Eithers.

on

Properties

tupled Either<E, (T1, T2, T3, T4, T5, T6, T7, T8)>

Available on (Either<E, T1>, Either<E, T2>, Either<E, T3>, Either<E, T4>, Either<E, T5>, Either<E, T6>, Either<E, T7>, Either<E, T8>), provided by the Tuple8EitherOps extension

If all items of this tuple are a Right, the respective items are turned into a tuple and returned as a Right. If any item is a Left, the first Left encountered is returned.
no setter

Methods

mapN<T9>(Function8<T1, T2, T3, T4, T5, T6, T7, T8, T9> fn) Either<E, T9>

Available on (Either<E, T1>, Either<E, T2>, Either<E, T3>, Either<E, T4>, Either<E, T5>, Either<E, T6>, Either<E, T7>, Either<E, T8>), provided by the Tuple8EitherOps extension

Applies fn to the values of each respective tuple member if all values are a Right. If any item is a Left, the first Left encountered will be returned.