object Accumulation extends Accumulation
Companion object to trait Accumulation that allows Accumulation's members to be imported
rather than mixed in, and also contains nested traits used by implicit conversions declared in
trait Accumulations.
For more information and examples, see the Accumulating errors with Or section
of the main documentation for class Or.
- Source
- Accumulation.scala
- Alphabetic
- By Inheritance
- Accumulation
- Accumulation
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
-
trait
Accumulatable[G, ERR, EVERY[b] <: Every[b]] extends AnyRef
Adds
zipandwhenmethods toOrs vai an implicit conversion provided by traitAccumulation.Adds
zipandwhenmethods toOrs vai an implicit conversion provided by traitAccumulation.For more information and examples, see the Using
zipand Usingwhensections of the main documentation for classOr. -
trait
Combinable[G, ERR, COLL[_]] extends AnyRef
Adds a
combinedmethod to “collections” of accumulatingOrs via an implicit conversion provided by traitAccumulation.Adds a
combinedmethod to “collections” of accumulatingOrs via an implicit conversion provided by traitAccumulation.For more information and examples, see the Using
combinedsection of the main documentation for classOr. -
trait
TravValidatable[G, TRAVONCE[e] <: GenTraversableOnce[e]] extends AnyRef
Adds a
validatedBymethod toGenTraversableOncevia an implicit conversion provided by traitAccumulation.Adds a
validatedBymethod toGenTraversableOncevia an implicit conversion provided by traitAccumulation.For more information and examples, see the Using
validatedBysection of the main documentation for classOr. -
trait
Validatable[G, COLL[_]] extends AnyRef
Adds a
validatedBymethod to (non-GenTraversableOnce) “collections” via an implicit conversion provided by traitAccumulation.Adds a
validatedBymethod to (non-GenTraversableOnce) “collections” via an implicit conversion provided by traitAccumulation.For more information and examples, see the Using
validatedBysection of the main documentation for classOr.
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
implicit
def
convertEveryToCombinable[G, ERR](oneToMany: Every[Or[G, Every[ERR]]]): Combinable[G, ERR, Every]
Implicitly converts an
Everycontaining accumulatingOrs to an instance ofCombinable, which enables thecombinedmethod to be invoked on it.Implicitly converts an
Everycontaining accumulatingOrs to an instance ofCombinable, which enables thecombinedmethod to be invoked on it.For more information and examples, see the Using
combinedsection of the main documentation for classOr.- Definition Classes
- Accumulation
-
implicit
def
convertEveryToValidatable[G](oneToMany: Every[G]): Validatable[G, Every]
Implicitly converts an
Everyto an instance ofValidatable, which enables thevalidatedBymethod to be invoked on it.Implicitly converts an
Everyto an instance ofValidatable, which enables thevalidatedBymethod to be invoked on it.For more information and examples, see the Using
validatedBysection of the main documentation for classOr.- Definition Classes
- Accumulation
-
implicit
def
convertGenSetToCombinable[G, ERR, X, EVERY[b] <: Every[b], SET[e] <: GenSet[e]](xs: SET[X with Or[G, EVERY[ERR]]])(implicit cbf: CanBuildFrom[SET[X with Or[G, EVERY[ERR]]], G, SET[G]]): Combinable[G, ERR, SET]
Implicitly converts a
Setcontaining accumulatingOrs to an instance ofCombinable, which enables thecombinedmethod to be invoked on it.Implicitly converts a
Setcontaining accumulatingOrs to an instance ofCombinable, which enables thecombinedmethod to be invoked on it.For more information and examples, see the Using
combinedsection of the main documentation for classOr.Note: This implicit is required for
Sets because althoughSets areGenTraversableOnces, they aren't covariant, so the implicit conversion provided byconvertGenTraversableOnceToCombinablewill not be applied, because it only works on covariantGenTraversableOnces.- Definition Classes
- Accumulation
-
implicit
def
convertGenSetToCombinableNothing[ERR, X, EVERY[b] <: Every[b], SET[e] <: GenSet[e]](xs: SET[X with Or[Nothing, EVERY[ERR]]])(implicit cbf: CanBuildFrom[SET[X with Or[Nothing, EVERY[ERR]]], Nothing, SET[Nothing]]): Combinable[Nothing, ERR, SET]
Implicitly converts a
Setcontaining accumulatingOrs whoseGoodtype is inferred asNothingto an instance ofCombinable, which enables thecombinedmethod to be invoked on it.Implicitly converts a
Setcontaining accumulatingOrs whoseGoodtype is inferred asNothingto an instance ofCombinable, which enables thecombinedmethod to be invoked on it.Note: This implicit is required for
Sets because althoughSets areGenTraversableOnces, they aren't covariant, so the implicit conversion provided byconvertGenTraversableOnceToCombinableNothingwill not be applied, because it only works on covariantGenTraversableOnces.- Definition Classes
- Accumulation
-
implicit
def
convertGenTraversableOnceToCombinable[G, ERR, EVERY[b] <: Every[b], TRAVONCE[+e] <: GenTraversableOnce[e]](xs: TRAVONCE[Or[G, EVERY[ERR]]])(implicit cbf: CanBuildFrom[TRAVONCE[Or[G, EVERY[ERR]]], G, TRAVONCE[G]]): Combinable[G, ERR, TRAVONCE]
Implicitly converts a covariant
GenTraversableOncecontaining accumulatingOrs to an instance ofCombinable, which enables thecombinedmethod to be invoked on it.Implicitly converts a covariant
GenTraversableOncecontaining accumulatingOrs to an instance ofCombinable, which enables thecombinedmethod to be invoked on it.For more information and examples, see the Using
combinedsection of the main documentation for classOr.- Definition Classes
- Accumulation
-
implicit
def
convertGenTraversableOnceToCombinable2[G, EVERY[b] <: Every[b], TRAVONCE[+e] <: GenTraversableOnce[e]](xs: TRAVONCE[Or[G, EVERY[Nothing]]])(implicit cbf: CanBuildFrom[TRAVONCE[Or[G, EVERY[Nothing]]], G, TRAVONCE[G]]): Combinable[G, Nothing, TRAVONCE]
- Definition Classes
- Accumulation
-
implicit
def
convertGenTraversableOnceToCombinableNothing[ERR, EVERY[b] <: Every[b], TRAVONCE[+e] <: GenTraversableOnce[e]](xs: TRAVONCE[Or[Nothing, EVERY[ERR]]])(implicit cbf: CanBuildFrom[TRAVONCE[Or[Nothing, EVERY[ERR]]], Nothing, TRAVONCE[Nothing]]): Combinable[Nothing, ERR, TRAVONCE]
Implicitly converts a covariant
GenTraversableOncecontaining accumulatingOrs whose inferredGoodtype is inferred asNothingto an instance ofCombinable, which enables thecombinedmethod to be invoked on it.Implicitly converts a covariant
GenTraversableOncecontaining accumulatingOrs whose inferredGoodtype is inferred asNothingto an instance ofCombinable, which enables thecombinedmethod to be invoked on it.- Definition Classes
- Accumulation
-
implicit
def
convertGenTraversableOnceToValidatable[G, TRAVONCE[e] <: GenTraversableOnce[e]](xs: TRAVONCE[G]): TravValidatable[G, TRAVONCE]
Implicitly converts a
GenTraversableOnceto an instance ofValidatable, which enables thevalidatedBymethod to be invoked on it.Implicitly converts a
GenTraversableOnceto an instance ofValidatable, which enables thevalidatedBymethod to be invoked on it.For more information and examples, see the Using
validatedBysection of the main documentation for classOr.- Definition Classes
- Accumulation
-
implicit
def
convertOptionToCombinable[G, ERR](option: Option[Or[G, Every[ERR]]]): Combinable[G, ERR, Option]
Implicitly converts an
Optioncontaining accumulatingOrs to an instance ofCombinable, which enables thecombinedmethod to be invoked on it.Implicitly converts an
Optioncontaining accumulatingOrs to an instance ofCombinable, which enables thecombinedmethod to be invoked on it.For more information and examples, see the Using
combinedsection of the main documentation for classOr.- Definition Classes
- Accumulation
-
implicit
def
convertOptionToValidatable[G](option: Option[G]): Validatable[G, Option]
Implicitly converts an
Optionto an instance ofValidatable, which enables thevalidatedBymethod to be invoked on it.Implicitly converts an
Optionto an instance ofValidatable, which enables thevalidatedBymethod to be invoked on it.For more information and examples, see the Using
validatedBysection of the main documentation for classOr.- Definition Classes
- Accumulation
-
implicit
def
convertOrToAccumulatable[G, ERR, EVERY[b] <: Every[b]](accumulatable: Or[G, EVERY[ERR]]): Accumulatable[G, ERR, EVERY]
Implicitly converts an accumulating
Orto an instance ofAccumulatable, which enableszipandwhenmethods to be invoked on it.Implicitly converts an accumulating
Orto an instance ofAccumulatable, which enableszipandwhenmethods to be invoked on it.For more information and examples, see the Using
zipand Usingwhensections of the main documentation for classOr.- Definition Classes
- Accumulation
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
def
withGood[A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, ERR, RESULT](a: Or[A, Every[ERR]], b: Or[B, Every[ERR]], c: Or[C, Every[ERR]], d: Or[D, Every[ERR]], e: Or[E, Every[ERR]], f: Or[F, Every[ERR]], g: Or[G, Every[ERR]], h: Or[H, Every[ERR]], i: Or[I, Every[ERR]], j: Or[J, Every[ERR]], k: Or[K, Every[ERR]], l: Or[L, Every[ERR]], m: Or[M, Every[ERR]], n: Or[N, Every[ERR]], o: Or[O, Every[ERR]], p: Or[P, Every[ERR]], q: Or[Q, Every[ERR]], r: Or[R, Every[ERR]], s: Or[S, Every[ERR]], t: Or[T, Every[ERR]], u: Or[U, Every[ERR]], v: Or[V, Every[ERR]])(fn: (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V) ⇒ RESULT): Or[RESULT, Every[ERR]]
Given 22
GoodaccumulatingOrs, apply them to the given function and return the result, wrapped in aGood; else return aBadcontaining every error (i.e., aBadwhoseEveryincludes every value that appears in anyBads passed towithGood).Given 22
GoodaccumulatingOrs, apply them to the given function and return the result, wrapped in aGood; else return aBadcontaining every error (i.e., aBadwhoseEveryincludes every value that appears in anyBads passed towithGood).For more information and examples, see the Accumulating errors with
Orsection of the main documentation for classOr.- returns
a
Goodresult, if all passedOrs wereGood; else aBadcontaining every error.
- Definition Classes
- Accumulation
-
def
withGood[A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, ERR, RESULT](a: Or[A, Every[ERR]], b: Or[B, Every[ERR]], c: Or[C, Every[ERR]], d: Or[D, Every[ERR]], e: Or[E, Every[ERR]], f: Or[F, Every[ERR]], g: Or[G, Every[ERR]], h: Or[H, Every[ERR]], i: Or[I, Every[ERR]], j: Or[J, Every[ERR]], k: Or[K, Every[ERR]], l: Or[L, Every[ERR]], m: Or[M, Every[ERR]], n: Or[N, Every[ERR]], o: Or[O, Every[ERR]], p: Or[P, Every[ERR]], q: Or[Q, Every[ERR]], r: Or[R, Every[ERR]], s: Or[S, Every[ERR]], t: Or[T, Every[ERR]], u: Or[U, Every[ERR]])(fn: (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U) ⇒ RESULT): Or[RESULT, Every[ERR]]
Given 21
GoodaccumulatingOrs, apply them to the given function and return the result, wrapped in aGood; else return aBadcontaining every error (i.e., aBadwhoseEveryincludes every value that appears in anyBads passed towithGood).Given 21
GoodaccumulatingOrs, apply them to the given function and return the result, wrapped in aGood; else return aBadcontaining every error (i.e., aBadwhoseEveryincludes every value that appears in anyBads passed towithGood).For more information and examples, see the Accumulating errors with
Orsection of the main documentation for classOr.- returns
a
Goodresult, if all passedOrs wereGood; else aBadcontaining every error.
- Definition Classes
- Accumulation
-
def
withGood[A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, ERR, RESULT](a: Or[A, Every[ERR]], b: Or[B, Every[ERR]], c: Or[C, Every[ERR]], d: Or[D, Every[ERR]], e: Or[E, Every[ERR]], f: Or[F, Every[ERR]], g: Or[G, Every[ERR]], h: Or[H, Every[ERR]], i: Or[I, Every[ERR]], j: Or[J, Every[ERR]], k: Or[K, Every[ERR]], l: Or[L, Every[ERR]], m: Or[M, Every[ERR]], n: Or[N, Every[ERR]], o: Or[O, Every[ERR]], p: Or[P, Every[ERR]], q: Or[Q, Every[ERR]], r: Or[R, Every[ERR]], s: Or[S, Every[ERR]], t: Or[T, Every[ERR]])(fn: (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T) ⇒ RESULT): Or[RESULT, Every[ERR]]
Given 20
GoodaccumulatingOrs, apply them to the given function and return the result, wrapped in aGood; else return aBadcontaining every error (i.e., aBadwhoseEveryincludes every value that appears in anyBads passed towithGood).Given 20
GoodaccumulatingOrs, apply them to the given function and return the result, wrapped in aGood; else return aBadcontaining every error (i.e., aBadwhoseEveryincludes every value that appears in anyBads passed towithGood).For more information and examples, see the Accumulating errors with
Orsection of the main documentation for classOr.- returns
a
Goodresult, if all passedOrs wereGood; else aBadcontaining every error.
- Definition Classes
- Accumulation
-
def
withGood[A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, ERR, RESULT](a: Or[A, Every[ERR]], b: Or[B, Every[ERR]], c: Or[C, Every[ERR]], d: Or[D, Every[ERR]], e: Or[E, Every[ERR]], f: Or[F, Every[ERR]], g: Or[G, Every[ERR]], h: Or[H, Every[ERR]], i: Or[I, Every[ERR]], j: Or[J, Every[ERR]], k: Or[K, Every[ERR]], l: Or[L, Every[ERR]], m: Or[M, Every[ERR]], n: Or[N, Every[ERR]], o: Or[O, Every[ERR]], p: Or[P, Every[ERR]], q: Or[Q, Every[ERR]], r: Or[R, Every[ERR]], s: Or[S, Every[ERR]])(fn: (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S) ⇒ RESULT): Or[RESULT, Every[ERR]]
Given 19
GoodaccumulatingOrs, apply them to the given function and return the result, wrapped in aGood; else return aBadcontaining every error (i.e., aBadwhoseEveryincludes every value that appears in anyBads passed towithGood).Given 19
GoodaccumulatingOrs, apply them to the given function and return the result, wrapped in aGood; else return aBadcontaining every error (i.e., aBadwhoseEveryincludes every value that appears in anyBads passed towithGood).For more information and examples, see the Accumulating errors with
Orsection of the main documentation for classOr.- returns
a
Goodresult, if all passedOrs wereGood; else aBadcontaining every error.
- Definition Classes
- Accumulation
-
def
withGood[A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, ERR, RESULT](a: Or[A, Every[ERR]], b: Or[B, Every[ERR]], c: Or[C, Every[ERR]], d: Or[D, Every[ERR]], e: Or[E, Every[ERR]], f: Or[F, Every[ERR]], g: Or[G, Every[ERR]], h: Or[H, Every[ERR]], i: Or[I, Every[ERR]], j: Or[J, Every[ERR]], k: Or[K, Every[ERR]], l: Or[L, Every[ERR]], m: Or[M, Every[ERR]], n: Or[N, Every[ERR]], o: Or[O, Every[ERR]], p: Or[P, Every[ERR]], q: Or[Q, Every[ERR]], r: Or[R, Every[ERR]])(fn: (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R) ⇒ RESULT): Or[RESULT, Every[ERR]]
Given 18
GoodaccumulatingOrs, apply them to the given function and return the result, wrapped in aGood; else return aBadcontaining every error (i.e., aBadwhoseEveryincludes every value that appears in anyBads passed towithGood).Given 18
GoodaccumulatingOrs, apply them to the given function and return the result, wrapped in aGood; else return aBadcontaining every error (i.e., aBadwhoseEveryincludes every value that appears in anyBads passed towithGood).For more information and examples, see the Accumulating errors with
Orsection of the main documentation for classOr.- returns
a
Goodresult, if all passedOrs wereGood; else aBadcontaining every error.
- Definition Classes
- Accumulation
-
def
withGood[A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, ERR, RESULT](a: Or[A, Every[ERR]], b: Or[B, Every[ERR]], c: Or[C, Every[ERR]], d: Or[D, Every[ERR]], e: Or[E, Every[ERR]], f: Or[F, Every[ERR]], g: Or[G, Every[ERR]], h: Or[H, Every[ERR]], i: Or[I, Every[ERR]], j: Or[J, Every[ERR]], k: Or[K, Every[ERR]], l: Or[L, Every[ERR]], m: Or[M, Every[ERR]], n: Or[N, Every[ERR]], o: Or[O, Every[ERR]], p: Or[P, Every[ERR]], q: Or[Q, Every[ERR]])(fn: (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q) ⇒ RESULT): Or[RESULT, Every[ERR]]
Given 17
GoodaccumulatingOrs, apply them to the given function and return the result, wrapped in aGood; else return aBadcontaining every error (i.e., aBadwhoseEveryincludes every value that appears in anyBads passed towithGood).Given 17
GoodaccumulatingOrs, apply them to the given function and return the result, wrapped in aGood; else return aBadcontaining every error (i.e., aBadwhoseEveryincludes every value that appears in anyBads passed towithGood).For more information and examples, see the Accumulating errors with
Orsection of the main documentation for classOr.- returns
a
Goodresult, if all passedOrs wereGood; else aBadcontaining every error.
- Definition Classes
- Accumulation
-
def
withGood[A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, ERR, RESULT](a: Or[A, Every[ERR]], b: Or[B, Every[ERR]], c: Or[C, Every[ERR]], d: Or[D, Every[ERR]], e: Or[E, Every[ERR]], f: Or[F, Every[ERR]], g: Or[G, Every[ERR]], h: Or[H, Every[ERR]], i: Or[I, Every[ERR]], j: Or[J, Every[ERR]], k: Or[K, Every[ERR]], l: Or[L, Every[ERR]], m: Or[M, Every[ERR]], n: Or[N, Every[ERR]], o: Or[O, Every[ERR]], p: Or[P, Every[ERR]])(fn: (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P) ⇒ RESULT): Or[RESULT, Every[ERR]]
Given 16
GoodaccumulatingOrs, apply them to the given function and return the result, wrapped in aGood; else return aBadcontaining every error (i.e., aBadwhoseEveryincludes every value that appears in anyBads passed towithGood).Given 16
GoodaccumulatingOrs, apply them to the given function and return the result, wrapped in aGood; else return aBadcontaining every error (i.e., aBadwhoseEveryincludes every value that appears in anyBads passed towithGood).For more information and examples, see the Accumulating errors with
Orsection of the main documentation for classOr.- returns
a
Goodresult, if all passedOrs wereGood; else aBadcontaining every error.
- Definition Classes
- Accumulation
-
def
withGood[A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, ERR, RESULT](a: Or[A, Every[ERR]], b: Or[B, Every[ERR]], c: Or[C, Every[ERR]], d: Or[D, Every[ERR]], e: Or[E, Every[ERR]], f: Or[F, Every[ERR]], g: Or[G, Every[ERR]], h: Or[H, Every[ERR]], i: Or[I, Every[ERR]], j: Or[J, Every[ERR]], k: Or[K, Every[ERR]], l: Or[L, Every[ERR]], m: Or[M, Every[ERR]], n: Or[N, Every[ERR]], o: Or[O, Every[ERR]])(fn: (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O) ⇒ RESULT): Or[RESULT, Every[ERR]]
Given 15
GoodaccumulatingOrs, apply them to the given function and return the result, wrapped in aGood; else return aBadcontaining every error (i.e., aBadwhoseEveryincludes every value that appears in anyBads passed towithGood).Given 15
GoodaccumulatingOrs, apply them to the given function and return the result, wrapped in aGood; else return aBadcontaining every error (i.e., aBadwhoseEveryincludes every value that appears in anyBads passed towithGood).For more information and examples, see the Accumulating errors with
Orsection of the main documentation for classOr.- returns
a
Goodresult, if all passedOrs wereGood; else aBadcontaining every error.
- Definition Classes
- Accumulation
-
def
withGood[A, B, C, D, E, F, G, H, I, J, K, L, M, N, ERR, RESULT](a: Or[A, Every[ERR]], b: Or[B, Every[ERR]], c: Or[C, Every[ERR]], d: Or[D, Every[ERR]], e: Or[E, Every[ERR]], f: Or[F, Every[ERR]], g: Or[G, Every[ERR]], h: Or[H, Every[ERR]], i: Or[I, Every[ERR]], j: Or[J, Every[ERR]], k: Or[K, Every[ERR]], l: Or[L, Every[ERR]], m: Or[M, Every[ERR]], n: Or[N, Every[ERR]])(fn: (A, B, C, D, E, F, G, H, I, J, K, L, M, N) ⇒ RESULT): Or[RESULT, Every[ERR]]
Given 14
GoodaccumulatingOrs, apply them to the given function and return the result, wrapped in aGood; else return aBadcontaining every error (i.e., aBadwhoseEveryincludes every value that appears in anyBads passed towithGood).Given 14
GoodaccumulatingOrs, apply them to the given function and return the result, wrapped in aGood; else return aBadcontaining every error (i.e., aBadwhoseEveryincludes every value that appears in anyBads passed towithGood).For more information and examples, see the Accumulating errors with
Orsection of the main documentation for classOr.- returns
a
Goodresult, if all passedOrs wereGood; else aBadcontaining every error.
- Definition Classes
- Accumulation
-
def
withGood[A, B, C, D, E, F, G, H, I, J, K, L, M, ERR, RESULT](a: Or[A, Every[ERR]], b: Or[B, Every[ERR]], c: Or[C, Every[ERR]], d: Or[D, Every[ERR]], e: Or[E, Every[ERR]], f: Or[F, Every[ERR]], g: Or[G, Every[ERR]], h: Or[H, Every[ERR]], i: Or[I, Every[ERR]], j: Or[J, Every[ERR]], k: Or[K, Every[ERR]], l: Or[L, Every[ERR]], m: Or[M, Every[ERR]])(fn: (A, B, C, D, E, F, G, H, I, J, K, L, M) ⇒ RESULT): Or[RESULT, Every[ERR]]
Given 13
GoodaccumulatingOrs, apply them to the given function and return the result, wrapped in aGood; else return aBadcontaining every error (i.e., aBadwhoseEveryincludes every value that appears in anyBads passed towithGood).Given 13
GoodaccumulatingOrs, apply them to the given function and return the result, wrapped in aGood; else return aBadcontaining every error (i.e., aBadwhoseEveryincludes every value that appears in anyBads passed towithGood).For more information and examples, see the Accumulating errors with
Orsection of the main documentation for classOr.- returns
a
Goodresult, if all passedOrs wereGood; else aBadcontaining every error.
- Definition Classes
- Accumulation
-
def
withGood[A, B, C, D, E, F, G, H, I, J, K, L, ERR, RESULT](a: Or[A, Every[ERR]], b: Or[B, Every[ERR]], c: Or[C, Every[ERR]], d: Or[D, Every[ERR]], e: Or[E, Every[ERR]], f: Or[F, Every[ERR]], g: Or[G, Every[ERR]], h: Or[H, Every[ERR]], i: Or[I, Every[ERR]], j: Or[J, Every[ERR]], k: Or[K, Every[ERR]], l: Or[L, Every[ERR]])(fn: (A, B, C, D, E, F, G, H, I, J, K, L) ⇒ RESULT): Or[RESULT, Every[ERR]]
Given 12
GoodaccumulatingOrs, apply them to the given function and return the result, wrapped in aGood; else return aBadcontaining every error (i.e., aBadwhoseEveryincludes every value that appears in anyBads passed towithGood).Given 12
GoodaccumulatingOrs, apply them to the given function and return the result, wrapped in aGood; else return aBadcontaining every error (i.e., aBadwhoseEveryincludes every value that appears in anyBads passed towithGood).For more information and examples, see the Accumulating errors with
Orsection of the main documentation for classOr.- returns
a
Goodresult, if all passedOrs wereGood; else aBadcontaining every error.
- Definition Classes
- Accumulation
-
def
withGood[A, B, C, D, E, F, G, H, I, J, K, ERR, RESULT](a: Or[A, Every[ERR]], b: Or[B, Every[ERR]], c: Or[C, Every[ERR]], d: Or[D, Every[ERR]], e: Or[E, Every[ERR]], f: Or[F, Every[ERR]], g: Or[G, Every[ERR]], h: Or[H, Every[ERR]], i: Or[I, Every[ERR]], j: Or[J, Every[ERR]], k: Or[K, Every[ERR]])(fn: (A, B, C, D, E, F, G, H, I, J, K) ⇒ RESULT): Or[RESULT, Every[ERR]]
Given 11
GoodaccumulatingOrs, apply them to the given function and return the result, wrapped in aGood; else return aBadcontaining every error (i.e., aBadwhoseEveryincludes every value that appears in anyBads passed towithGood).Given 11
GoodaccumulatingOrs, apply them to the given function and return the result, wrapped in aGood; else return aBadcontaining every error (i.e., aBadwhoseEveryincludes every value that appears in anyBads passed towithGood).For more information and examples, see the Accumulating errors with
Orsection of the main documentation for classOr.- returns
a
Goodresult, if all passedOrs wereGood; else aBadcontaining every error.
- Definition Classes
- Accumulation
-
def
withGood[A, B, C, D, E, F, G, H, I, J, ERR, RESULT](a: Or[A, Every[ERR]], b: Or[B, Every[ERR]], c: Or[C, Every[ERR]], d: Or[D, Every[ERR]], e: Or[E, Every[ERR]], f: Or[F, Every[ERR]], g: Or[G, Every[ERR]], h: Or[H, Every[ERR]], i: Or[I, Every[ERR]], j: Or[J, Every[ERR]])(fn: (A, B, C, D, E, F, G, H, I, J) ⇒ RESULT): Or[RESULT, Every[ERR]]
Given 10
GoodaccumulatingOrs, apply them to the given function and return the result, wrapped in aGood; else return aBadcontaining every error (i.e., aBadwhoseEveryincludes every value that appears in anyBads passed towithGood).Given 10
GoodaccumulatingOrs, apply them to the given function and return the result, wrapped in aGood; else return aBadcontaining every error (i.e., aBadwhoseEveryincludes every value that appears in anyBads passed towithGood).For more information and examples, see the Accumulating errors with
Orsection of the main documentation for classOr.- returns
a
Goodresult, if all passedOrs wereGood; else aBadcontaining every error.
- Definition Classes
- Accumulation
-
def
withGood[A, B, C, D, E, F, G, H, I, ERR, RESULT](a: Or[A, Every[ERR]], b: Or[B, Every[ERR]], c: Or[C, Every[ERR]], d: Or[D, Every[ERR]], e: Or[E, Every[ERR]], f: Or[F, Every[ERR]], g: Or[G, Every[ERR]], h: Or[H, Every[ERR]], i: Or[I, Every[ERR]])(fn: (A, B, C, D, E, F, G, H, I) ⇒ RESULT): Or[RESULT, Every[ERR]]
Given 9
GoodaccumulatingOrs, apply them to the given function and return the result, wrapped in aGood; else return aBadcontaining every error (i.e., aBadwhoseEveryincludes every value that appears in anyBads passed towithGood).Given 9
GoodaccumulatingOrs, apply them to the given function and return the result, wrapped in aGood; else return aBadcontaining every error (i.e., aBadwhoseEveryincludes every value that appears in anyBads passed towithGood).For more information and examples, see the Accumulating errors with
Orsection of the main documentation for classOr.- returns
a
Goodresult, if all passedOrs wereGood; else aBadcontaining every error.
- Definition Classes
- Accumulation
-
def
withGood[A, B, C, D, E, F, G, H, ERR, RESULT](a: Or[A, Every[ERR]], b: Or[B, Every[ERR]], c: Or[C, Every[ERR]], d: Or[D, Every[ERR]], e: Or[E, Every[ERR]], f: Or[F, Every[ERR]], g: Or[G, Every[ERR]], h: Or[H, Every[ERR]])(fn: (A, B, C, D, E, F, G, H) ⇒ RESULT): Or[RESULT, Every[ERR]]
Given 8
GoodaccumulatingOrs, apply them to the given function and return the result, wrapped in aGood; else return aBadcontaining every error (i.e., aBadwhoseEveryincludes every value that appears in anyBads passed towithGood).Given 8
GoodaccumulatingOrs, apply them to the given function and return the result, wrapped in aGood; else return aBadcontaining every error (i.e., aBadwhoseEveryincludes every value that appears in anyBads passed towithGood).For more information and examples, see the Accumulating errors with
Orsection of the main documentation for classOr.- returns
a
Goodresult, if all passedOrs wereGood; else aBadcontaining every error.
- Definition Classes
- Accumulation
-
def
withGood[A, B, C, D, E, F, G, ERR, RESULT](a: Or[A, Every[ERR]], b: Or[B, Every[ERR]], c: Or[C, Every[ERR]], d: Or[D, Every[ERR]], e: Or[E, Every[ERR]], f: Or[F, Every[ERR]], g: Or[G, Every[ERR]])(fn: (A, B, C, D, E, F, G) ⇒ RESULT): Or[RESULT, Every[ERR]]
Given 7
GoodaccumulatingOrs, apply them to the given function and return the result, wrapped in aGood; else return aBadcontaining every error (i.e., aBadwhoseEveryincludes every value that appears in anyBads passed towithGood).Given 7
GoodaccumulatingOrs, apply them to the given function and return the result, wrapped in aGood; else return aBadcontaining every error (i.e., aBadwhoseEveryincludes every value that appears in anyBads passed towithGood).For more information and examples, see the Accumulating errors with
Orsection of the main documentation for classOr.- returns
a
Goodresult, if all passedOrs wereGood; else aBadcontaining every error.
- Definition Classes
- Accumulation
-
def
withGood[A, B, C, D, E, F, ERR, RESULT](a: Or[A, Every[ERR]], b: Or[B, Every[ERR]], c: Or[C, Every[ERR]], d: Or[D, Every[ERR]], e: Or[E, Every[ERR]], f: Or[F, Every[ERR]])(fn: (A, B, C, D, E, F) ⇒ RESULT): Or[RESULT, Every[ERR]]
Given 6
GoodaccumulatingOrs, apply them to the given function and return the result, wrapped in aGood; else return aBadcontaining every error (i.e., aBadwhoseEveryincludes every value that appears in anyBads passed towithGood).Given 6
GoodaccumulatingOrs, apply them to the given function and return the result, wrapped in aGood; else return aBadcontaining every error (i.e., aBadwhoseEveryincludes every value that appears in anyBads passed towithGood).For more information and examples, see the Accumulating errors with
Orsection of the main documentation for classOr.- returns
a
Goodresult, if all passedOrs wereGood; else aBadcontaining every error.
- Definition Classes
- Accumulation
-
def
withGood[A, B, C, D, E, ERR, RESULT](a: Or[A, Every[ERR]], b: Or[B, Every[ERR]], c: Or[C, Every[ERR]], d: Or[D, Every[ERR]], e: Or[E, Every[ERR]])(fn: (A, B, C, D, E) ⇒ RESULT): Or[RESULT, Every[ERR]]
Given 5
GoodaccumulatingOrs, apply them to the given function and return the result, wrapped in aGood; else return aBadcontaining every error (i.e., aBadwhoseEveryincludes every value that appears in anyBads passed towithGood).Given 5
GoodaccumulatingOrs, apply them to the given function and return the result, wrapped in aGood; else return aBadcontaining every error (i.e., aBadwhoseEveryincludes every value that appears in anyBads passed towithGood).For more information and examples, see the Accumulating errors with
Orsection of the main documentation for classOr.- returns
a
Goodresult, if all passedOrs wereGood; else aBadcontaining every error.
- Definition Classes
- Accumulation
-
def
withGood[A, B, C, D, ERR, RESULT](a: Or[A, Every[ERR]], b: Or[B, Every[ERR]], c: Or[C, Every[ERR]], d: Or[D, Every[ERR]])(fn: (A, B, C, D) ⇒ RESULT): Or[RESULT, Every[ERR]]
Given 4
GoodaccumulatingOrs, apply them to the given function and return the result, wrapped in aGood; else return aBadcontaining every error (i.e., aBadwhoseEveryincludes every value that appears in anyBads passed towithGood).Given 4
GoodaccumulatingOrs, apply them to the given function and return the result, wrapped in aGood; else return aBadcontaining every error (i.e., aBadwhoseEveryincludes every value that appears in anyBads passed towithGood).For more information and examples, see the Accumulating errors with
Orsection of the main documentation for classOr.- returns
a
Goodresult, if all passedOrs wereGood; else aBadcontaining every error.
- Definition Classes
- Accumulation
-
def
withGood[A, B, C, ERR, RESULT](a: Or[A, Every[ERR]], b: Or[B, Every[ERR]], c: Or[C, Every[ERR]])(fn: (A, B, C) ⇒ RESULT): Or[RESULT, Every[ERR]]
Given 3
GoodaccumulatingOrs, apply them to the given function and return the result, wrapped in aGood; else return aBadcontaining every error (i.e., aBadwhoseEveryincludes every value that appears in anyBads passed towithGood).Given 3
GoodaccumulatingOrs, apply them to the given function and return the result, wrapped in aGood; else return aBadcontaining every error (i.e., aBadwhoseEveryincludes every value that appears in anyBads passed towithGood).For more information and examples, see the Accumulating errors with
Orsection of the main documentation for classOr.- returns
a
Goodresult, if all passedOrs wereGood; else aBadcontaining every error.
- Definition Classes
- Accumulation
-
def
withGood[A, B, ERR, RESULT](a: Or[A, Every[ERR]], b: Or[B, Every[ERR]])(fn: (A, B) ⇒ RESULT): Or[RESULT, Every[ERR]]
Given 2
GoodaccumulatingOrs, apply them to the given function and return the result, wrapped in aGood; else return aBadcontaining every error (i.e., aBadwhoseEveryincludes every value that appears in anyBads passed towithGood).Given 2
GoodaccumulatingOrs, apply them to the given function and return the result, wrapped in aGood; else return aBadcontaining every error (i.e., aBadwhoseEveryincludes every value that appears in anyBads passed towithGood).For more information and examples, see the Accumulating errors with
Orsection of the main documentation for classOr.- returns
a
Goodresult, if all passedOrs wereGood; else aBadcontaining every error.
- Definition Classes
- Accumulation
Deprecated Value Members
-
def
withGood[A, ERR, RESULT](a: Or[A, Every[ERR]])(fn: (A) ⇒ RESULT): Or[RESULT, Every[ERR]]
Given a
GoodaccumulatingOr, apply it to the given function and return the result, wrapped in aGood; else return the givenBad.Given a
GoodaccumulatingOr, apply it to the given function and return the result, wrapped in aGood; else return the givenBad.For more information and examples, see the Accumulating errors with
Orsection of the main documentation for classOr.- Definition Classes
- Accumulation
- Annotations
- @deprecated
- Deprecated
Please call map on the Or passed as the first argument to withGood, passing to map the function passed as the second argument to withGood, instead