EitherBiMapAggregate

izumi.functional.IzEither.EitherBiMapAggregate
final class EitherBiMapAggregate[ColR <: (IterableOnce), T](col: ColR[T]) extends AnyVal

Attributes

Graph
Supertypes
class AnyVal
trait Matchable
class Any

Members list

Value members

Concrete methods

def biTraverse[ColL[_], L, A](f: T => Either[ColL[L], A])(implicit buildR: Factory[A, ColR[A]], buildL: Factory[L, ColL[L]], iterL: ColL[L] => IterableOnce[L]): Either[ColL[L], ColR[A]]

traverse with error accumulation

traverse with error accumulation

Attributes

def biTraverse_[ColL[_], L](f: T => Either[ColL[L], Unit])(implicit buildL: Factory[L, ColL[L]], iterL: ColL[L] => IterableOnce[L]): Either[ColL[L], Unit]

traverse_ with error accumulation

traverse_ with error accumulation

Attributes

Deprecated methods

def biMapAggregate[ColL[_], L, A](f: T => Either[ColL[L], A])(implicit buildR: Factory[A, ColR[A]], buildL: Factory[L, ColL[L]], iterL: ColL[L] => IterableOnce[L]): Either[ColL[L], ColR[A]]

Attributes

Deprecated
use .biTraverse
def biMapAggregateTo[ColL[_], L, A, CC](f: T => Either[ColL[L], A])(buildRR: Factory[A, CC])(implicit iterL: ColL[L] => IterableOnce[L], buildL: Factory[L, ColL[L]], buildR: Factory[A, ColR[A]]): Either[ColL[L], CC]

Attributes

Deprecated
use .biTraverse(f).to(...)
def biMapAggregateVoid[ColL[_], L](f: T => Either[ColL[L], Unit])(implicit buildL: Factory[L, ColL[L]], iterL: ColL[L] => IterableOnce[L]): Either[ColL[L], Unit]

Attributes

Deprecated
use .biTraverse_