Either

io.github.arainko.ducktape.Mode.FailFast.Either
class Either[E] extends FailFast[[A] =>> Either[E, A]]

Attributes

Source
Mode.scala
Graph
Supertypes
trait FailFast[[A] =>> Either[E, A]]
trait Mode[[A] =>> Either[E, A]]
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

final def flatMap[A, B](fa: Either[E, A], f: A => Either[E, B]): Either[E, B]

Attributes

Source
Mode.scala
final def map[A, B](fa: Either[E, A], f: A => B): Either[E, B]

Attributes

Source
Mode.scala
final def pure[A](value: A): Either[E, A]

Attributes

Source
Mode.scala
final def traverseCollection[A, B, AColl <: Iterable[A], BColl <: Iterable[B]](collection: AColl, transformation: A => Either[E, B])(using factory: Factory[B, BColl]): Either[E, BColl]

Attributes

Source
Mode.scala