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
.
Attributes
- Companion
- trait
- Source
- Accumulation.scala
- Graph
-
- Supertypes
- Self type
-
Accumulation.type
Members list
Type members
Classlikes
Adds zip
and when
methods to Or
s vai an implicit conversion provided by trait Accumulation
.
Adds zip
and when
methods to Or
s vai an implicit conversion provided by trait Accumulation
.
For more information and examples, see the Using zip
and Using when
sections of the main documentation for class Or
.
Attributes
- Source
- Accumulation.scala
- Supertypes
-
class Objecttrait Matchableclass Any
Adds a combined
method to “collections” of accumulating Or
s via an implicit conversion provided by trait Accumulation
.
Adds a combined
method to “collections” of accumulating Or
s via an implicit conversion provided by trait Accumulation
.
For more information and examples, see the Using combined
section of the main documentation for class Or
.
Attributes
- Source
- Accumulation.scala
- Supertypes
-
class Objecttrait Matchableclass Any
Adds a validatedBy
method to IterableOnce
via an implicit conversion provided by trait Accumulation
.
Adds a validatedBy
method to IterableOnce
via an implicit conversion provided by trait Accumulation
.
For more information and examples, see the Using validatedBy
section of the main documentation for class Or
.
Attributes
- Source
- Accumulation.scala
- Supertypes
-
class Objecttrait Matchableclass Any
Adds a validatedBy
method to (non-IterableOnce
) “collections” via an implicit conversion provided by trait Accumulation
.
Adds a validatedBy
method to (non-IterableOnce
) “collections” via an implicit conversion provided by trait Accumulation
.
For more information and examples, see the Using validatedBy
section of the main documentation for class Or
.
Attributes
- Source
- Accumulation.scala
- Supertypes
-
class Objecttrait Matchableclass Any
Value members
Inherited methods
Given 22 Good
accumulating Or
s, apply them to the given function and return the result, wrapped in a Good
; else return a Bad
containing every error (i.e., a Bad
whose Every
includes every value that appears in any Bad
s passed to withGood
).
Given 22 Good
accumulating Or
s, apply them to the given function and return the result, wrapped in a Good
; else return a Bad
containing every error (i.e., a Bad
whose Every
includes every value that appears in any Bad
s passed to withGood
).
For more information and examples, see the Accumulating errors with Or
section of the main documentation for class Or
.
Attributes
- Returns
-
a
Good
result, if all passedOr
s wereGood
; else aBad
containing every error. - Inherited from:
- Accumulation
- Source
- Accumulation.scala
Given 21 Good
accumulating Or
s, apply them to the given function and return the result, wrapped in a Good
; else return a Bad
containing every error (i.e., a Bad
whose Every
includes every value that appears in any Bad
s passed to withGood
).
Given 21 Good
accumulating Or
s, apply them to the given function and return the result, wrapped in a Good
; else return a Bad
containing every error (i.e., a Bad
whose Every
includes every value that appears in any Bad
s passed to withGood
).
For more information and examples, see the Accumulating errors with Or
section of the main documentation for class Or
.
Attributes
- Returns
-
a
Good
result, if all passedOr
s wereGood
; else aBad
containing every error. - Inherited from:
- Accumulation
- Source
- Accumulation.scala
Given 20 Good
accumulating Or
s, apply them to the given function and return the result, wrapped in a Good
; else return a Bad
containing every error (i.e., a Bad
whose Every
includes every value that appears in any Bad
s passed to withGood
).
Given 20 Good
accumulating Or
s, apply them to the given function and return the result, wrapped in a Good
; else return a Bad
containing every error (i.e., a Bad
whose Every
includes every value that appears in any Bad
s passed to withGood
).
For more information and examples, see the Accumulating errors with Or
section of the main documentation for class Or
.
Attributes
- Returns
-
a
Good
result, if all passedOr
s wereGood
; else aBad
containing every error. - Inherited from:
- Accumulation
- Source
- Accumulation.scala
Given 19 Good
accumulating Or
s, apply them to the given function and return the result, wrapped in a Good
; else return a Bad
containing every error (i.e., a Bad
whose Every
includes every value that appears in any Bad
s passed to withGood
).
Given 19 Good
accumulating Or
s, apply them to the given function and return the result, wrapped in a Good
; else return a Bad
containing every error (i.e., a Bad
whose Every
includes every value that appears in any Bad
s passed to withGood
).
For more information and examples, see the Accumulating errors with Or
section of the main documentation for class Or
.
Attributes
- Returns
-
a
Good
result, if all passedOr
s wereGood
; else aBad
containing every error. - Inherited from:
- Accumulation
- Source
- Accumulation.scala
Given 18 Good
accumulating Or
s, apply them to the given function and return the result, wrapped in a Good
; else return a Bad
containing every error (i.e., a Bad
whose Every
includes every value that appears in any Bad
s passed to withGood
).
Given 18 Good
accumulating Or
s, apply them to the given function and return the result, wrapped in a Good
; else return a Bad
containing every error (i.e., a Bad
whose Every
includes every value that appears in any Bad
s passed to withGood
).
For more information and examples, see the Accumulating errors with Or
section of the main documentation for class Or
.
Attributes
- Returns
-
a
Good
result, if all passedOr
s wereGood
; else aBad
containing every error. - Inherited from:
- Accumulation
- Source
- Accumulation.scala
Given 17 Good
accumulating Or
s, apply them to the given function and return the result, wrapped in a Good
; else return a Bad
containing every error (i.e., a Bad
whose Every
includes every value that appears in any Bad
s passed to withGood
).
Given 17 Good
accumulating Or
s, apply them to the given function and return the result, wrapped in a Good
; else return a Bad
containing every error (i.e., a Bad
whose Every
includes every value that appears in any Bad
s passed to withGood
).
For more information and examples, see the Accumulating errors with Or
section of the main documentation for class Or
.
Attributes
- Returns
-
a
Good
result, if all passedOr
s wereGood
; else aBad
containing every error. - Inherited from:
- Accumulation
- Source
- Accumulation.scala
Given 16 Good
accumulating Or
s, apply them to the given function and return the result, wrapped in a Good
; else return a Bad
containing every error (i.e., a Bad
whose Every
includes every value that appears in any Bad
s passed to withGood
).
Given 16 Good
accumulating Or
s, apply them to the given function and return the result, wrapped in a Good
; else return a Bad
containing every error (i.e., a Bad
whose Every
includes every value that appears in any Bad
s passed to withGood
).
For more information and examples, see the Accumulating errors with Or
section of the main documentation for class Or
.
Attributes
- Returns
-
a
Good
result, if all passedOr
s wereGood
; else aBad
containing every error. - Inherited from:
- Accumulation
- Source
- Accumulation.scala
Given 15 Good
accumulating Or
s, apply them to the given function and return the result, wrapped in a Good
; else return a Bad
containing every error (i.e., a Bad
whose Every
includes every value that appears in any Bad
s passed to withGood
).
Given 15 Good
accumulating Or
s, apply them to the given function and return the result, wrapped in a Good
; else return a Bad
containing every error (i.e., a Bad
whose Every
includes every value that appears in any Bad
s passed to withGood
).
For more information and examples, see the Accumulating errors with Or
section of the main documentation for class Or
.
Attributes
- Returns
-
a
Good
result, if all passedOr
s wereGood
; else aBad
containing every error. - Inherited from:
- Accumulation
- Source
- Accumulation.scala
Given 14 Good
accumulating Or
s, apply them to the given function and return the result, wrapped in a Good
; else return a Bad
containing every error (i.e., a Bad
whose Every
includes every value that appears in any Bad
s passed to withGood
).
Given 14 Good
accumulating Or
s, apply them to the given function and return the result, wrapped in a Good
; else return a Bad
containing every error (i.e., a Bad
whose Every
includes every value that appears in any Bad
s passed to withGood
).
For more information and examples, see the Accumulating errors with Or
section of the main documentation for class Or
.
Attributes
- Returns
-
a
Good
result, if all passedOr
s wereGood
; else aBad
containing every error. - Inherited from:
- Accumulation
- Source
- Accumulation.scala
Given 13 Good
accumulating Or
s, apply them to the given function and return the result, wrapped in a Good
; else return a Bad
containing every error (i.e., a Bad
whose Every
includes every value that appears in any Bad
s passed to withGood
).
Given 13 Good
accumulating Or
s, apply them to the given function and return the result, wrapped in a Good
; else return a Bad
containing every error (i.e., a Bad
whose Every
includes every value that appears in any Bad
s passed to withGood
).
For more information and examples, see the Accumulating errors with Or
section of the main documentation for class Or
.
Attributes
- Returns
-
a
Good
result, if all passedOr
s wereGood
; else aBad
containing every error. - Inherited from:
- Accumulation
- Source
- Accumulation.scala
Given 12 Good
accumulating Or
s, apply them to the given function and return the result, wrapped in a Good
; else return a Bad
containing every error (i.e., a Bad
whose Every
includes every value that appears in any Bad
s passed to withGood
).
Given 12 Good
accumulating Or
s, apply them to the given function and return the result, wrapped in a Good
; else return a Bad
containing every error (i.e., a Bad
whose Every
includes every value that appears in any Bad
s passed to withGood
).
For more information and examples, see the Accumulating errors with Or
section of the main documentation for class Or
.
Attributes
- Returns
-
a
Good
result, if all passedOr
s wereGood
; else aBad
containing every error. - Inherited from:
- Accumulation
- Source
- Accumulation.scala
Given 11 Good
accumulating Or
s, apply them to the given function and return the result, wrapped in a Good
; else return a Bad
containing every error (i.e., a Bad
whose Every
includes every value that appears in any Bad
s passed to withGood
).
Given 11 Good
accumulating Or
s, apply them to the given function and return the result, wrapped in a Good
; else return a Bad
containing every error (i.e., a Bad
whose Every
includes every value that appears in any Bad
s passed to withGood
).
For more information and examples, see the Accumulating errors with Or
section of the main documentation for class Or
.
Attributes
- Returns
-
a
Good
result, if all passedOr
s wereGood
; else aBad
containing every error. - Inherited from:
- Accumulation
- Source
- Accumulation.scala
Given 10 Good
accumulating Or
s, apply them to the given function and return the result, wrapped in a Good
; else return a Bad
containing every error (i.e., a Bad
whose Every
includes every value that appears in any Bad
s passed to withGood
).
Given 10 Good
accumulating Or
s, apply them to the given function and return the result, wrapped in a Good
; else return a Bad
containing every error (i.e., a Bad
whose Every
includes every value that appears in any Bad
s passed to withGood
).
For more information and examples, see the Accumulating errors with Or
section of the main documentation for class Or
.
Attributes
- Returns
-
a
Good
result, if all passedOr
s wereGood
; else aBad
containing every error. - Inherited from:
- Accumulation
- Source
- Accumulation.scala
Given 9 Good
accumulating Or
s, apply them to the given function and return the result, wrapped in a Good
; else return a Bad
containing every error (i.e., a Bad
whose Every
includes every value that appears in any Bad
s passed to withGood
).
Given 9 Good
accumulating Or
s, apply them to the given function and return the result, wrapped in a Good
; else return a Bad
containing every error (i.e., a Bad
whose Every
includes every value that appears in any Bad
s passed to withGood
).
For more information and examples, see the Accumulating errors with Or
section of the main documentation for class Or
.
Attributes
- Returns
-
a
Good
result, if all passedOr
s wereGood
; else aBad
containing every error. - Inherited from:
- Accumulation
- Source
- Accumulation.scala
Given 8 Good
accumulating Or
s, apply them to the given function and return the result, wrapped in a Good
; else return a Bad
containing every error (i.e., a Bad
whose Every
includes every value that appears in any Bad
s passed to withGood
).
Given 8 Good
accumulating Or
s, apply them to the given function and return the result, wrapped in a Good
; else return a Bad
containing every error (i.e., a Bad
whose Every
includes every value that appears in any Bad
s passed to withGood
).
For more information and examples, see the Accumulating errors with Or
section of the main documentation for class Or
.
Attributes
- Returns
-
a
Good
result, if all passedOr
s wereGood
; else aBad
containing every error. - Inherited from:
- Accumulation
- Source
- Accumulation.scala
Given 7 Good
accumulating Or
s, apply them to the given function and return the result, wrapped in a Good
; else return a Bad
containing every error (i.e., a Bad
whose Every
includes every value that appears in any Bad
s passed to withGood
).
Given 7 Good
accumulating Or
s, apply them to the given function and return the result, wrapped in a Good
; else return a Bad
containing every error (i.e., a Bad
whose Every
includes every value that appears in any Bad
s passed to withGood
).
For more information and examples, see the Accumulating errors with Or
section of the main documentation for class Or
.
Attributes
- Returns
-
a
Good
result, if all passedOr
s wereGood
; else aBad
containing every error. - Inherited from:
- Accumulation
- Source
- Accumulation.scala
Given 6 Good
accumulating Or
s, apply them to the given function and return the result, wrapped in a Good
; else return a Bad
containing every error (i.e., a Bad
whose Every
includes every value that appears in any Bad
s passed to withGood
).
Given 6 Good
accumulating Or
s, apply them to the given function and return the result, wrapped in a Good
; else return a Bad
containing every error (i.e., a Bad
whose Every
includes every value that appears in any Bad
s passed to withGood
).
For more information and examples, see the Accumulating errors with Or
section of the main documentation for class Or
.
Attributes
- Returns
-
a
Good
result, if all passedOr
s wereGood
; else aBad
containing every error. - Inherited from:
- Accumulation
- Source
- Accumulation.scala
Given 5 Good
accumulating Or
s, apply them to the given function and return the result, wrapped in a Good
; else return a Bad
containing every error (i.e., a Bad
whose Every
includes every value that appears in any Bad
s passed to withGood
).
Given 5 Good
accumulating Or
s, apply them to the given function and return the result, wrapped in a Good
; else return a Bad
containing every error (i.e., a Bad
whose Every
includes every value that appears in any Bad
s passed to withGood
).
For more information and examples, see the Accumulating errors with Or
section of the main documentation for class Or
.
Attributes
- Returns
-
a
Good
result, if all passedOr
s wereGood
; else aBad
containing every error. - Inherited from:
- Accumulation
- Source
- Accumulation.scala
Given 4 Good
accumulating Or
s, apply them to the given function and return the result, wrapped in a Good
; else return a Bad
containing every error (i.e., a Bad
whose Every
includes every value that appears in any Bad
s passed to withGood
).
Given 4 Good
accumulating Or
s, apply them to the given function and return the result, wrapped in a Good
; else return a Bad
containing every error (i.e., a Bad
whose Every
includes every value that appears in any Bad
s passed to withGood
).
For more information and examples, see the Accumulating errors with Or
section of the main documentation for class Or
.
Attributes
- Returns
-
a
Good
result, if all passedOr
s wereGood
; else aBad
containing every error. - Inherited from:
- Accumulation
- Source
- Accumulation.scala
Given 3 Good
accumulating Or
s, apply them to the given function and return the result, wrapped in a Good
; else return a Bad
containing every error (i.e., a Bad
whose Every
includes every value that appears in any Bad
s passed to withGood
).
Given 3 Good
accumulating Or
s, apply them to the given function and return the result, wrapped in a Good
; else return a Bad
containing every error (i.e., a Bad
whose Every
includes every value that appears in any Bad
s passed to withGood
).
For more information and examples, see the Accumulating errors with Or
section of the main documentation for class Or
.
Attributes
- Returns
-
a
Good
result, if all passedOr
s wereGood
; else aBad
containing every error. - Inherited from:
- Accumulation
- Source
- Accumulation.scala
Given 2 Good
accumulating Or
s, apply them to the given function and return the result, wrapped in a Good
; else return a Bad
containing every error (i.e., a Bad
whose Every
includes every value that appears in any Bad
s passed to withGood
).
Given 2 Good
accumulating Or
s, apply them to the given function and return the result, wrapped in a Good
; else return a Bad
containing every error (i.e., a Bad
whose Every
includes every value that appears in any Bad
s passed to withGood
).
For more information and examples, see the Accumulating errors with Or
section of the main documentation for class Or
.
Attributes
- Returns
-
a
Good
result, if all passedOr
s wereGood
; else aBad
containing every error. - Inherited from:
- Accumulation
- Source
- Accumulation.scala
Implicits
Inherited implicits
Implicitly converts an Every
containing accumulating Or
s to an instance of Combinable
, which enables the combined
method to be invoked on it.
Implicitly converts an Every
containing accumulating Or
s to an instance of Combinable
, which enables the combined
method to be invoked on it.
For more information and examples, see the Using combined
section of the main documentation for class Or
.
Attributes
- Inherited from:
- Accumulation
- Source
- Accumulation.scala
Implicitly converts an Every
to an instance of Validatable
, which enables the validatedBy
method to be invoked on it.
Implicitly converts an Every
to an instance of Validatable
, which enables the validatedBy
method to be invoked on it.
For more information and examples, see the Using validatedBy
section of the main documentation for class Or
.
Attributes
- Inherited from:
- Accumulation
- Source
- Accumulation.scala
Implicitly converts a Set
containing accumulating Or
s whose Good
type is inferred as Nothing
to an instance of Combinable
, which enables the combined
method to be invoked on it.
Implicitly converts a Set
containing accumulating Or
s whose Good
type is inferred as Nothing
to an instance of Combinable
, which enables the combined
method to be invoked on it.
Note: This implicit is required for Set
s because although Set
s are IterableOnce
s, they aren't covariant, so the implicit conversion provided by convertIterableOnceToCombinableNothing
will not be applied, because it only works on covariant IterableOnce
s.
Attributes
- Inherited from:
- Accumulation
- Source
- Accumulation.scala
Implicitly converts a Set
containing accumulating Or
s whose Bad
type is inferred as Nothing
to an instance of Combinable
, which enables the combined
method to be invoked on it.
Implicitly converts a Set
containing accumulating Or
s whose Bad
type is inferred as Nothing
to an instance of Combinable
, which enables the combined
method to be invoked on it.
Note: This implicit is required for Set
s because although Set
s are IterableOnce
s, they aren't covariant, so the implicit conversion provided by convertGenSetToCombinableNothing
will not be applied, because it only works on covariant IterableOnce
s.
Attributes
- Inherited from:
- Accumulation
- Source
- Accumulation.scala
Implicitly converts a Set
containing accumulating Or
s to an instance of Combinable
, which enables the combined
method to be invoked on it.
Implicitly converts a Set
containing accumulating Or
s to an instance of Combinable
, which enables the combined
method to be invoked on it.
For more information and examples, see the Using combined
section of the main documentation for class Or
.
Note: This implicit is required for Set
s because although Set
s are IterableOnce
s, they aren't covariant, so the implicit conversion provided by convertIterableOnceToCombinable
will not be applied, because it only works on covariant IterableOnce
s.
Attributes
- Inherited from:
- Accumulation
- Source
- Accumulation.scala
Implicitly converts a covariant IterableOnce
containing accumulating Or
s to an instance of Combinable
, which enables the combined
method to be invoked on it.
Implicitly converts a covariant IterableOnce
containing accumulating Or
s to an instance of Combinable
, which enables the combined
method to be invoked on it.
For more information and examples, see the Using combined
section of the main documentation for class Or
.
Attributes
- Inherited from:
- AccumulationLowPriorityImplicits
- Source
- Accumulation.scala
Attributes
- Inherited from:
- Accumulation
- Source
- Accumulation.scala
Attributes
- Inherited from:
- AccumulationLowPriorityImplicits
- Source
- Accumulation.scala
Implicitly converts a IterableOnce
to an instance of Validatable
, which enables the validatedBy
method to be invoked on it.
Implicitly converts a IterableOnce
to an instance of Validatable
, which enables the validatedBy
method to be invoked on it.
For more information and examples, see the Using validatedBy
section of the main documentation for class Or
.
Attributes
- Inherited from:
- Accumulation
- Source
- Accumulation.scala
Implicitly converts an Option
containing accumulating Or
s to an instance of Combinable
, which enables the combined
method to be invoked on it.
Implicitly converts an Option
containing accumulating Or
s to an instance of Combinable
, which enables the combined
method to be invoked on it.
For more information and examples, see the Using combined
section of the main documentation for class Or
.
Attributes
- Inherited from:
- Accumulation
- Source
- Accumulation.scala
Implicitly converts an Option
to an instance of Validatable
, which enables the validatedBy
method to be invoked on it.
Implicitly converts an Option
to an instance of Validatable
, which enables the validatedBy
method to be invoked on it.
For more information and examples, see the Using validatedBy
section of the main documentation for class Or
.
Attributes
- Inherited from:
- Accumulation
- Source
- Accumulation.scala
Implicitly converts an accumulating Or
to an instance of Accumulatable
, which enables zip
and when
methods to be invoked on it.
Implicitly converts an accumulating Or
to an instance of Accumulatable
, which enables zip
and when
methods to be invoked on it.
For more information and examples, see the Using zip
and Using when
sections of the main documentation for class Or
.
Attributes
- Inherited from:
- Accumulation
- Source
- Accumulation.scala