trait DisjunctionEffect extends DisjunctionCreation with DisjunctionInterpretation
Effect for computation which can fail
- Alphabetic
- By Inheritance
- DisjunctionEffect
- DisjunctionInterpretation
- DisjunctionCreation
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
-
type
ThrowableOr[A] = Either[Throwable, A]
- Definition Classes
- DisjunctionCreation
-
type
_ThrowableOr[R] = Member[ThrowableOr, R]
- Definition Classes
- DisjunctionCreation
-
type
_throwableOr[R] = MemberIn[ThrowableOr, R]
- Definition Classes
- DisjunctionCreation
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
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
catchLeft[R, E, A](r: Eff[R, A])(handle: (E) ⇒ Eff[R, A])(implicit member: <=[[β$10$]Either[E, β$10$], R]): Eff[R, A]
catch and handle a possible Left value
catch and handle a possible Left value
- Definition Classes
- DisjunctionInterpretation
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
fromDisjunction[R, E, A](disjunction: 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
- DisjunctionCreation
-
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: |=[[β$2$]Either[E, β$2$], R]): Eff[R, A]
create a failed value
create a failed value
- Definition Classes
- DisjunctionCreation
-
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
optionDisjunction[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
- DisjunctionCreation
-
def
right[R, E, A](a: A)(implicit member: |=[[β$4$]Either[E, β$4$], R]): Eff[R, A]
create a correct value
create a correct value
- Definition Classes
- DisjunctionCreation
-
def
runDisjunction[R, U, E, A](r: Eff[R, A])(implicit m: Aux[[β$6$]Either[E, β$6$], R, U]): Eff[U, Either[E, A]]
run the disjunction effect, yielding E Either A
run the disjunction effect, yielding E Either A
- Definition Classes
- DisjunctionInterpretation
-
def
runEither[R, U, E, A](r: Eff[R, A])(implicit m: Aux[[β$9$]Either[E, β$9$], R, U]): Eff[U, Either[E, A]]
run the disjunction effect, yielding Either[E, A]
run the disjunction effect, yielding Either[E, A]
- Definition Classes
- DisjunctionInterpretation
-
def
runLocalDisjunction[R, U, E1, E2, A](r: Eff[R, A], getter: (E1) ⇒ E2)(implicit sr: Aux[[β$13$]Either[E1, β$13$], R, U], br: |=[[β$14$]Either[E2, β$14$], 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
- DisjunctionInterpretation
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
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
- @native() @throws( ... )