Trait/Object

org.atnos.eff

EitherEffect

Related Docs: object EitherEffect | package eff

Permalink

trait EitherEffect extends EitherCreation with EitherInterpretation

Effect for computation which can fail

Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. EitherEffect
  2. EitherInterpretation
  3. EitherCreation
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. type ThrowableEither[A] = Either[Throwable, A]

    Permalink
    Definition Classes
    EitherCreation
  2. type _ThrowableEither[R] = Member[ThrowableEither, R]

    Permalink
    Definition Classes
    EitherCreation
  3. type _throwableEither[R] = MemberIn[ThrowableEither, R]

    Permalink
    Definition Classes
    EitherCreation

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. def EitherApplicative[E](implicit s: Semigroup[E]): Applicative[[β$11$]Either[E, β$11$]]

    Permalink
    Definition Classes
    EitherInterpretation
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def catchLeft[R, E, A](r: Eff[R, A])(handle: (E) ⇒ Eff[R, A])(implicit member: /=[[β$16$]Either[E, β$16$], R]): Eff[R, A]

    Permalink

    catch and handle a possible left value

    catch and handle a possible left value

    Definition Classes
    EitherInterpretation
  7. def catchLeftCombine[R, E, A](r: Eff[R, A])(handle: (E) ⇒ Eff[R, A])(implicit member: /=[[β$19$]Either[E, β$19$], R], s: Semigroup[E]): Eff[R, A]

    Permalink

    catch and handle a possible left value.

    catch and handle a possible left value. The value is the combination of all failures in case of an applicative

    Definition Classes
    EitherInterpretation
  8. def catchNonFatalThrowable[R, A](a: ⇒ A)(implicit member: |=[[β$7$]Either[Throwable, β$7$], R]): Eff[R, A]

    Permalink

    create an Either effect from a value possibly throwing a Throwable

    create an Either effect from a value possibly throwing a Throwable

    Definition Classes
    EitherCreation
  9. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. final def eq(arg0: AnyRef): Boolean

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. def fromCatchNonFatal[R, E, A](a: ⇒ A)(onThrowable: (Throwable) ⇒ E)(implicit member: |=[[β$6$]Either[E, β$6$], R]): Eff[R, A]

    Permalink

    create an Either effect from a value possibly throwing an exception

    create an Either effect from a value possibly throwing an exception

    Definition Classes
    EitherCreation
  14. def fromEither[R, E, A](Either: Either[E, A])(implicit member: |=[[β$1$]Either[E, β$1$], R]): Eff[R, A]

    Permalink

    create an Either effect from a single Either value

    create an Either effect from a single Either value

    Definition Classes
    EitherCreation
  15. final def getClass(): Class[_]

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

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

    Permalink
    Definition Classes
    Any
  18. def left[R, E, A](e: E)(implicit member: |=[[β$2$]Either[E, β$2$], R]): Eff[R, A]

    Permalink

    create a failed value

    create a failed value

    Definition Classes
    EitherCreation
  19. def localEither[SR, BR, U, E1, E2, A](r: Eff[SR, A], getter: (E1) ⇒ E2)(implicit sr: Aux[[β$22$]Either[E1, β$22$], SR, U], br: Aux[[β$23$]Either[E2, β$23$], BR, U]): Eff[BR, A]

    Permalink

    Lift a computation over a "small" error (for a subsystem) into a computation over a "bigger" error (for the full application)

    Lift a computation over a "small" error (for a subsystem) into a computation over a "bigger" error (for the full application)

    Definition Classes
    EitherInterpretation
  20. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  23. def optionEither[R, E, A](option: Option[A], e: E)(implicit member: |=[[β$0$]Either[E, β$0$], R]): Eff[R, A]

    Permalink

    create an Either effect from a single Option value

    create an Either effect from a single Option value

    Definition Classes
    EitherCreation
  24. def right[R, E, A](a: A)(implicit member: |=[[β$4$]Either[E, β$4$], R]): Eff[R, A]

    Permalink

    create a correct value

    create a correct value

    Definition Classes
    EitherCreation
  25. def runEither[R, U, E, A](r: Eff[R, A])(implicit m: Aux[[β$8$]Either[E, β$8$], R, U]): Eff[U, Either[E, A]]

    Permalink

    run the Either effect, yielding E Either A

    run the Either effect, yielding E Either A

    Definition Classes
    EitherInterpretation
  26. def runEitherCombine[R, U, E, A](r: Eff[R, A])(implicit m: Aux[[β$13$]Either[E, β$13$], R, U], s: Semigroup[E]): Eff[U, Either[E, A]]

    Permalink

    run the Either effect, yielding E Either A and combine all Es

    run the Either effect, yielding E Either A and combine all Es

    Definition Classes
    EitherInterpretation
  27. def runLocalEither[R, U, E1, E2, A](r: Eff[R, A], getter: (E1) ⇒ E2)(implicit sr: Aux[[β$28$]Either[E1, β$28$], R, U], br: |=[[β$29$]Either[E2, β$29$], U]): Eff[U, A]

    Permalink

    Translate an error effect to another one in the same stack a computation over a "bigger" error (for the full application)

    Translate an error effect to another one in the same stack a computation over a "bigger" error (for the full application)

    Definition Classes
    EitherInterpretation
  28. final def synchronized[T0](arg0: ⇒ T0): T0

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

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

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

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

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

Inherited from EitherInterpretation

Inherited from EitherCreation

Inherited from AnyRef

Inherited from Any

Ungrouped