LazyEitherT

final case
class LazyEitherT[F[_], A, B](run: F[LazyEither[A, B]])
Companion
object
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

def ?[X](left: => X, right: => X)(implicit F: Functor[F]): F[X]
def app[C](f: => LazyEitherT[F, A, B => C])(implicit F: Apply[F]): LazyEitherT[F, A, C]

Apply a function in the environment of the right of this disjunction. Because it runs my F even when f's \/ fails, it is not consistent with ap.

Apply a function in the environment of the right of this disjunction. Because it runs my F even when f's \/ fails, it is not consistent with ap.

def bimap[C, D](f: (=> A) => C, g: (=> B) => D)(implicit F: Functor[F]): LazyEitherT[F, C, D]
def bitraverse[G[_], C, D](f: A => G[C], g: B => G[D])(implicit F: Traverse[F], G: Applicative[G]): G[LazyEitherT[F, C, D]]
def exists(f: (=> B) => Boolean)(implicit F: Functor[F]): F[Boolean]
def flatMap[C](f: (=> B) => LazyEitherT[F, A, C])(implicit M: Monad[F]): LazyEitherT[F, A, C]
def foldRight[Z](z: => Z)(f: (B, => Z) => Z)(implicit F: Foldable[F]): Z
def forall(f: (=> B) => Boolean)(implicit F: Functor[F]): F[Boolean]
def getOrElse(default: => B)(implicit F: Functor[F]): F[B]
def isLeft(implicit F: Functor[F]): F[Boolean]
def isRight(implicit F: Functor[F]): F[Boolean]
def left: LeftProjectionT[F, A, B]
def leftMap[C](f: (=> A) => C)(implicit F: Functor[F]): LazyEitherT[F, C, B]

Run the given function on the left value.

Run the given function on the left value.

def map[C](f: (=> B) => C)(implicit F: Functor[F]): LazyEitherT[F, A, C]
def orElse(x: => LazyEitherT[F, A, B])(implicit m: Bind[F]): LazyEitherT[F, A, B]
def swap(implicit F: Functor[F]): F[LazyEither[B, A]]
def toIList(implicit F: Functor[F]): F[IList[B]]
def toLazyOption(implicit F: Functor[F]): LazyOptionT[F, B]
def toList(implicit F: Functor[F]): F[List[B]]
def toMaybe(implicit F: Functor[F]): MaybeT[F, B]
def toOption(implicit F: Functor[F]): OptionT[F, B]
def toStream(implicit F: Functor[F]): F[Stream[B]]
def traverse[G[_], C](f: B => G[C])(implicit F: Traverse[F], G: Applicative[G]): G[LazyEitherT[F, A, C]]
def |(default: => B)(implicit F: Functor[F]): F[B]

Return the right value of this disjunction or the given default if left. Alias for getOrElse

Return the right value of this disjunction or the given default if left. Alias for getOrElse

def |||(x: => LazyEitherT[F, A, B])(implicit F: Bind[F]): LazyEitherT[F, A, B]

Return this if it is a right, otherwise, return the given value. Alias for orElse

Return this if it is a right, otherwise, return the given value. Alias for orElse

Inherited methods

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