Packages

  • package root
    Definition Classes
    root
  • package org
    Definition Classes
    root
  • package scalactic
    Definition Classes
    org
  • 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.

    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.

    Definition Classes
    scalactic
  • Accumulatable
  • Combinable
  • TravValidatable
  • Validatable
Scalactic is brought to you by:

trait Validatable[G, COLL[_]] extends AnyRef

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.

Source
Accumulation.scala
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Validatable
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Abstract Value Members

  1. abstract def validatedBy[H, ERR, EVERY[e] <: Every[e]](fn: (G) => Or[H, EVERY[ERR]]): Or[COLL[H], Every[ERR]]

    Maps a collection COLL of Gs into Ors of type H Or EVERY[ERR] (where EVERY is some subtype of Every) using the passed function fn, then combines the resulting Ors into a single Or of type COLL[H] Or Every[ERR].

    Maps a collection COLL of Gs into Ors of type H Or EVERY[ERR] (where EVERY is some subtype of Every) using the passed function fn, then combines the resulting Ors into a single Or of type COLL[H] Or Every[ERR].

    Note: this process implemented by this method is sometimes called a “traverse.”

    For more information and examples, see the Using validatedBy section of the main documentation for class Or.