Tuple14ValidatedNelOps<EE, A, B, C, D, E, F, G, H, I, J, K, L, M, N> 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<EE, L> , ValidatedNel<EE, M> , ValidatedNel<EE, N> )
- (ValidatedNel<
Methods
-
mapN<
O> (Function14< A, B, C, D, E, F, G, H, I, J, K, L, M, N, O> fn) → ValidatedNel<EE, O> -
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, L, M, N)> - 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.