trait EitherEffect extends EitherCreation with EitherInterpretation
- Alphabetic
- By Inheritance
- EitherEffect
- EitherInterpretation
- EitherCreation
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
-
type
ThrowableEither[A] = Either[Throwable, A]
- Definition Classes
- EitherCreation
-
type
_ThrowableEither[R] = Member[ThrowableEither, R]
- Definition Classes
- EitherCreation
-
type
_throwableEither[R] = MemberIn[ThrowableEither, R]
- Definition Classes
- EitherCreation
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
EitherApplicative[E](implicit s: Semigroup[E]): Applicative[[β$26$]Either[E, β$26$]]
- Definition Classes
- EitherInterpretation
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
attemptEither[R, E, A](effect: Eff[R, A])(implicit member: /=[[β$4$]Either[E, β$4$], R]): Eff[R, Either[E, A]]
catch possible left values
catch possible left values
- Definition Classes
- EitherInterpretation
-
def
catchLeft[R, E, A](effect: Eff[R, A])(handle: (E) ⇒ Eff[R, A])(implicit member: /=[[β$5$]Either[E, β$5$], R]): Eff[R, A]
catch and handle a possible left value
catch and handle a possible left value
- Definition Classes
- EitherInterpretation
-
def
catchLeftCombine[R, E, A](effect: Eff[R, A])(handle: (E) ⇒ Eff[R, A])(implicit member: /=[[β$7$]Either[E, β$7$], R], s: Semigroup[E]): Eff[R, A]
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
-
def
catchNonFatalThrowable[R, A](a: ⇒ A)(implicit member: |=[ThrowableEither, R]): Eff[R, A]
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
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
fromCatchNonFatal[R, E, A](a: ⇒ A)(onThrowable: (Throwable) ⇒ E)(implicit member: |=[[β$7$]Either[E, β$7$], R]): Eff[R, A]
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
-
def
fromEither[R, E, A](Either: Either[E, A])(implicit member: |=[[β$1$]Either[E, β$1$], R]): Eff[R, A]
create an Either effect from a single Either value
create an Either effect from a single Either value
- Definition Classes
- EitherCreation
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
left[R, E, A](e: E)(implicit member: |=[[β$3$]Either[E, β$3$], R]): Eff[R, A]
create a failed value
create a failed value
- Definition Classes
- EitherCreation
-
def
localEither[R, E, A](e: Eff[R, A])(modify: (E) ⇒ E)(implicit m: /=[[β$23$]Either[E, β$23$], R]): Eff[R, A]
Update the error value, the stack of the Eff computation stays the same
Update the error value, the stack of the Eff computation stays the same
- Definition Classes
- EitherInterpretation
-
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
optionEither[R, E, A](option: Option[A], e: ⇒ E)(implicit member: |=[[β$0$]Either[E, β$0$], R]): Eff[R, A]
create an Either effect from a single Option value
create an Either effect from a single Option value
- Definition Classes
- EitherCreation
-
def
right[R, E, A](a: A)(implicit member: |=[[β$5$]Either[E, β$5$], R]): Eff[R, A]
create a correct value
create a correct value
- Definition Classes
- EitherCreation
-
def
runEither[R, U, E, A](effect: Eff[R, A])(implicit m: Aux[[β$0$]Either[E, β$0$], R, U]): Eff[U, Either[E, A]]
run the Either effect, yielding E Either A
run the Either effect, yielding E Either A
- Definition Classes
- EitherInterpretation
-
def
runEitherCatchLeft[R, U, E, A](r: Eff[R, A])(handle: (E) ⇒ Eff[U, A])(implicit m: Aux[[β$6$]Either[E, β$6$], R, U]): Eff[U, A]
run the Either effect, handling E (with effects) and yielding A
run the Either effect, handling E (with effects) and yielding A
- Definition Classes
- EitherInterpretation
-
def
runEitherCombine[R, U, E, A](effect: Eff[R, A])(implicit m: Aux[[β$1$]Either[E, β$1$], R, U], s: Semigroup[E]): Eff[U, Either[E, A]]
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
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
translateEither[R, U, E1, E2, A](r: Eff[R, A], getter: (E1) ⇒ E2)(implicit sr: Aux[[β$20$]Either[E1, β$20$], R, U], br: |=[[β$21$]Either[E2, β$21$], U]): Eff[U, A]
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
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
zoomEither[SR, BR, U1, U2, E1, E2, A](r: Eff[SR, A], getter: (E1) ⇒ E2)(implicit sr: Aux[[β$14$]Either[E1, β$14$], SR, U1], br: Aux[[β$15$]Either[E2, β$15$], BR, U2], into: IntoPoly[U1, U2]): Eff[BR, A]
Modify the type of the read value
Modify the type of the read value
This changes the stack of the Eff computation
- Definition Classes
- EitherInterpretation