final case class LazyEitherT[F[_], A, B](run: F[LazyEither[A, B]]) extends Product with Serializable
- Source
- LazyEitherT.scala
- Alphabetic
- By Inheritance
- LazyEitherT
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new LazyEitherT(run: F[LazyEither[A, B]])
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- 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.
Apply a function in the environment of the right of this disjunction. Because it runs my
F
even whenf
's\/
fails, it is not consistent withap
. - final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- 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 clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def exists(f: (=> B) => Boolean)(implicit F: Functor[F]): F[Boolean]
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- 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]
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getOrElse(default: => B)(implicit F: Functor[F]): F[B]
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- 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.
- def map[C](f: (=> B) => C)(implicit F: Functor[F]): LazyEitherT[F, A, C]
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def orElse(x: => LazyEitherT[F, A, B])(implicit m: Bind[F]): LazyEitherT[F, A, B]
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val run: F[LazyEither[A, B]]
- def swap(implicit F: Functor[F]): F[LazyEither[B, A]]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- 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]]
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- def |(default: => B)(implicit F: Functor[F]): F[B]
Return the right value of this disjunction or the given default if left.
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.
Return this if it is a right, otherwise, return the given value. Alias for
orElse