EitherT

final case class EitherT[F[_], A, B](run: F[Either[A, B]])
Authors

Kevin Lee

Since

2019-03-24

Companion
object
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

def ap[C](fa: EitherT[F, A, B => C])(F: Applicative[F]): EitherT[F, A, C]
def flatMap[C](f: B => EitherT[F, A, C])(M: Monad[F]): EitherT[F, A, C]
def isLeft(F: Functor[F]): F[Boolean]
def isRight(F: Functor[F]): F[Boolean]
def leftFlatMap[C](f: A => EitherT[F, C, B])(M: Monad[F]): EitherT[F, C, B]
def leftMap[C](f: A => C)(F: Functor[F]): EitherT[F, C, B]
def map[C](f: B => C)(F: Functor[F]): EitherT[F, A, C]

Inherited methods

def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product