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
.
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
.
Adds a validatedBy
method to GenTraversableOnce
via an implicit conversion provided by
trait Accumulation
.
Adds a validatedBy
method to GenTraversableOnce
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
.
Adds a validatedBy
method to (non-GenTraversableOnce
) “collections” via an implicit conversion provided by
trait Accumulation
.
Adds a validatedBy
method to (non-GenTraversableOnce
) “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
.
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
.
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
.
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 GenTraversableOnce
s, they aren't covariant, so
the implicit conversion provided by convertGenTraversableOnceToCombinable
will not be applied, because it only works on covariant
GenTraversableOnce
s.
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 GenTraversableOnce
s, they aren't covariant, so
the implicit conversion provided by convertGenTraversableOnceToCombinableNothing
will not be applied, because it only works on covariant
GenTraversableOnce
s.
Implicitly converts a covariant GenTraversableOnce
containing accumulating Or
s to an instance of
Combinable
, which
enables the combined
method to be invoked on it.
Implicitly converts a covariant GenTraversableOnce
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
.
Implicitly converts a covariant GenTraversableOnce
containing accumulating Or
s whose inferred Good
type
is inferred as Nothing
to an instance of
Combinable
, which
enables the combined
method to be invoked on it.
Implicitly converts a covariant GenTraversableOnce
containing accumulating Or
s whose inferred Good
type
is inferred as Nothing
to an instance of
Combinable
, which
enables the combined
method to be invoked on it.
Implicitly converts a GenTraversableOnce
to an instance of Validatable
, which
enables the validatedBy
method to be invoked on it.
Implicitly converts a GenTraversableOnce
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
.
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
.
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
.
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
.
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
.
a Good
result, if all passed Or
s were Good
; else a Bad
containing every error.
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
.
a Good
result, if all passed Or
s were Good
; else a Bad
containing every error.
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
.
a Good
result, if all passed Or
s were Good
; else a Bad
containing every error.
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
.
a Good
result, if all passed Or
s were Good
; else a Bad
containing every error.
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
.
a Good
result, if all passed Or
s were Good
; else a Bad
containing every error.
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
.
a Good
result, if all passed Or
s were Good
; else a Bad
containing every error.
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
.
a Good
result, if all passed Or
s were Good
; else a Bad
containing every error.
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
.
a Good
result, if all passed Or
s were Good
; else a Bad
containing every error.
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
.
a Good
result, if all passed Or
s were Good
; else a Bad
containing every error.
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
.
a Good
result, if all passed Or
s were Good
; else a Bad
containing every error.
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
.
a Good
result, if all passed Or
s were Good
; else a Bad
containing every error.
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
.
a Good
result, if all passed Or
s were Good
; else a Bad
containing every error.
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
.
a Good
result, if all passed Or
s were Good
; else a Bad
containing every error.
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
.
a Good
result, if all passed Or
s were Good
; else a Bad
containing every error.
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
.
a Good
result, if all passed Or
s were Good
; else a Bad
containing every error.
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
.
a Good
result, if all passed Or
s were Good
; else a Bad
containing every error.
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
.
a Good
result, if all passed Or
s were Good
; else a Bad
containing every error.
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
.
a Good
result, if all passed Or
s were Good
; else a Bad
containing every error.
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
.
a Good
result, if all passed Or
s were Good
; else a Bad
containing every error.
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
.
a Good
result, if all passed Or
s were Good
; else a Bad
containing every error.
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
.
a Good
result, if all passed Or
s were Good
; else a Bad
containing every error.
Given a Good
accumulating Or
, apply it to the given function and return the result, wrapped in a Good
;
else return the given Bad
.
Given a Good
accumulating Or
, apply it to the given function and return the result, wrapped in a Good
;
else return the given Bad
.
For more information and examples, see the Accumulating errors with Or
section
of the main documentation for class Or
.
Companion object to trait
Accumulation
that allowsAccumulation
's members to be imported rather than mixed in, and also contains nested traits used by implicit conversions declared in traitAccumulations
.For more information and examples, see the Accumulating errors with
Or
section of the main documentation for classOr
.