Tuple4ValidatedNelOps<EE, A, B, C, D> extension

Functions available on a tuple of ValidatedNels.

on

Methods

mapN<E>(Function4<A, B, C, D, E> fn) ValidatedNel<EE, E>

Available on (ValidatedNel<EE, A>, ValidatedNel<EE, B>, ValidatedNel<EE, C>, ValidatedNel<EE, D>), provided by the Tuple4ValidatedNelOps extension

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)>

Available on (ValidatedNel<EE, A>, ValidatedNel<EE, B>, ValidatedNel<EE, C>, ValidatedNel<EE, D>), provided by the Tuple4ValidatedNelOps extension

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.