Adds a validatedBy method to (non-GenTraversableOnce) “collections” via an implicit conversion provided by
For more information and examples, see the Using validatedBy section of
the main documentation for class Or.
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.”