Validatable

trait Validatable[G, COLL[_]]

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
class Object
trait Matchable
class Any

Value members

Abstract methods

def validatedBy[H, ERR, EVERY <: (Every)](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.

Source:
Accumulation.scala