Object/Class

scalaz

EitherT

Related Docs: class EitherT | package scalaz

Permalink

object EitherT extends EitherTInstances with EitherTFunctions with Serializable

Source
EitherT.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. EitherT
  2. Serializable
  3. Serializable
  4. EitherTFunctions
  5. EitherTInstances
  6. EitherTInstances00
  7. EitherTInstances0
  8. EitherTInstances1
  9. EitherTInstances2
  10. EitherTInstances3
  11. AnyRef
  12. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. final class FromDisjunctionAux[F[_]] extends AnyRef

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. def either[F[_], A, B](d: \/[A, B])(implicit arg0: Applicative[F]): EitherT[F, A, B]

    Permalink
  7. def eitherT[F[_], A, B](a: F[\/[A, B]]): EitherT[F, A, B]

    Permalink
    Definition Classes
    EitherTFunctions
  8. implicit def eitherTBifoldable[F[_]](implicit F0: Foldable[F]): Bifoldable[[α, β]EitherT[F, α, β]]

    Permalink
    Definition Classes
    EitherTInstances0
  9. implicit def eitherTBifunctor[F[_]](implicit F0: Functor[F]): Bifunctor[[α, β]EitherT[F, α, β]]

    Permalink
    Definition Classes
    EitherTInstances0
  10. implicit def eitherTBitraverse[F[_]](implicit F0: Traverse[F]): Bitraverse[[α, β]EitherT[F, α, β]]

    Permalink
    Definition Classes
    EitherTInstances
  11. implicit def eitherTEqual[F[_], A, B](implicit F0: Equal[F[\/[A, B]]]): Equal[EitherT[F, A, B]]

    Permalink
    Definition Classes
    EitherTInstances
  12. implicit def eitherTFoldable[F[_], L](implicit F0: Foldable[F]): Foldable[[α]EitherT[F, L, α]]

    Permalink
    Definition Classes
    EitherTInstances0
  13. implicit def eitherTFunctor[F[_], L](implicit F0: Functor[F]): Functor[[α]EitherT[F, L, α]]

    Permalink
    Definition Classes
    EitherTInstances2
  14. implicit def eitherTHoist[A]: Hoist[[α[_], β]EitherT[α, A, β]]

    Permalink
    Definition Classes
    EitherTInstances
  15. implicit def eitherTMonad[F[_], L](implicit F0: Monad[F]): Monad[[α]EitherT[F, L, α]]

    Permalink
    Definition Classes
    EitherTInstances1
  16. implicit def eitherTMonadError[F[_], E](implicit F0: Monad[F]): MonadError[[α, β]EitherT[F, α, β], E]

    Permalink
    Definition Classes
    EitherTInstances00EitherTInstances3
  17. implicit def eitherTMonadPlus[F[_], L](implicit F0: Monad[F], L0: Monoid[L]): MonadPlus[[α]EitherT[F, L, α]]

    Permalink
    Definition Classes
    EitherTInstances0
  18. implicit def eitherTPlus[F[_], L](implicit F0: Monad[F], L0: Semigroup[L]): Plus[[α]EitherT[F, L, α]]

    Permalink
    Definition Classes
    EitherTInstances1
  19. implicit def eitherTShow[F[_], A, B](implicit F0: Show[F[\/[A, B]]]): Show[EitherT[F, A, B]]

    Permalink
    Definition Classes
    EitherTInstances
  20. implicit def eitherTTraverse[F[_], L](implicit F0: Traverse[F]): Traverse[[α]EitherT[F, L, α]]

    Permalink
    Definition Classes
    EitherTInstances
  21. def eitherTU[FAB, AB, A0, B0](fab: FAB)(implicit u1: Unapply[Functor, FAB] { type A = AB }, u2: Unapply2[Bifunctor, AB] { ... /* 2 definitions in type refinement */ }, l: ===[AB, \/[A0, B0]]): EitherT[(u1)#M, A0, B0]

    Permalink
  22. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  23. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  24. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  25. def fromDisjunction[F[_]]: FromDisjunctionAux[F]

    Permalink
  26. def fromEither[F[_], A, B](e: F[Either[A, B]])(implicit F: Functor[F]): EitherT[F, A, B]

    Permalink

    Construct a disjunction value from a standard scala.Either.

  27. def fromTryCatchNonFatal[F[_], A](a: ⇒ F[A])(implicit F: Applicative[F]): EitherT[F, Throwable, A]

    Permalink
  28. def fromTryCatchThrowable[F[_], A, B <: Throwable](a: ⇒ F[A])(implicit F: Applicative[F], nn: NotNothing[B], ex: ClassManifest[B]): EitherT[F, B, A]

    Permalink
  29. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  30. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  31. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  32. def left[F[_], A, B](a: F[A])(implicit F: Functor[F]): EitherT[F, A, B]

    Permalink

    Construct a left disjunction value.

  33. def leftT[F[_], A, B](fa: F[A])(implicit arg0: Functor[F]): EitherT[F, A, B]

    Permalink
  34. def leftU[B]: EitherTLeft[B]

    Permalink
  35. def monadListen[F[_, _], W, A](implicit ML0: MonadListen[F, W]): MonadListen[[α, β]EitherT[[x]F[α, x], A, β], W]

    Permalink
    Definition Classes
    EitherTFunctions
  36. def monadTell[F[_, _], W, A](implicit MT0: MonadTell[F, W]): MonadTell[[α, β]EitherT[[x]F[α, x], A, β], W]

    Permalink
    Definition Classes
    EitherTFunctions
  37. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  38. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  39. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  40. def pure[F[_], A, B](b: B)(implicit arg0: Applicative[F]): EitherT[F, A, B]

    Permalink
  41. def pureLeft[F[_], A, B](a: A)(implicit arg0: Applicative[F]): EitherT[F, A, B]

    Permalink
  42. def right[F[_], A, B](b: F[B])(implicit F: Functor[F]): EitherT[F, A, B]

    Permalink

    Construct a right disjunction value.

  43. def rightT[F[_], A, B](fb: F[B])(implicit arg0: Functor[F]): EitherT[F, A, B]

    Permalink
  44. def rightU[A]: EitherTRight[A]

    Permalink

    Example:
    1. val a: String \/ Int = \/-(1)
      val b: EitherT[({type l[a] = String \/ a})#l, Boolean, Int] = EitherT.rightU[Boolean](a)
  45. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  46. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  47. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  48. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  49. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def fromTryCatch[F[_], A](a: ⇒ F[A])(implicit F: Applicative[F]): EitherT[F, Throwable, A]

    Permalink

    Evaluate the given value, which might throw an exception.

    Evaluate the given value, which might throw an exception.

    Annotations
    @deprecated
    Deprecated

    (Since version 7.1.0) catches fatal exceptions, use fromTryCatchThrowable or fromTryCatchNonFatal

Inherited from Serializable

Inherited from Serializable

Inherited from EitherTFunctions

Inherited from EitherTInstances

Inherited from EitherTInstances00

Inherited from EitherTInstances0

Inherited from EitherTInstances1

Inherited from EitherTInstances2

Inherited from EitherTInstances3

Inherited from AnyRef

Inherited from Any

Ungrouped