Tuple11ValidatedNelOps<EE, A, B, C, D, E, F, G, H, I, J, K> extension
Functions available on a tuple of ValidatedNels.
- on
-
- (ValidatedNel<
EE, A> , ValidatedNel<EE, B> , ValidatedNel<EE, C> , ValidatedNel<EE, D> , ValidatedNel<EE, E> , ValidatedNel<EE, F> , ValidatedNel<EE, G> , ValidatedNel<EE, H> , ValidatedNel<EE, I> , ValidatedNel<EE, J> , ValidatedNel<EE, K> )
- (ValidatedNel<
Methods
-
mapN<
L> (Function11< A, B, C, D, E, F, G, H, I, J, K, L> fn) → ValidatedNel<EE, L> -
Applies
fn
to the values of each respective tuple member if all values are a Valid. If any item is an Invalid, the accumulation of all Invalid instances is returned. -
tupled(
) → ValidatedNel< EE, (A, B, C, D, E, F, G, H, I, J, K)> - If all items of this tuple are a Valid, the respective items are turned into a tuple and returned as a ValidatedNel. If any item is an Invalid, the accumulation of all Invalid instances is returned.