Object

org.atnos.eff

all

Related Doc: package eff

Permalink

object all extends ReaderEffect with WriterEffect with StateEffect with EvalEffect with OptionEffect with ListEffect with XorEffect with ValidateEffect with ChooseEffect with FutureEffect with SafeEffect with Optimise with EffInterpretation with EffCreation with EffImplicits

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. all
  2. EffImplicits
  3. EffCreation
  4. EffInterpretation
  5. Optimise
  6. SafeEffect
  7. SafeInterpretation
  8. SafeCreation
  9. SafeTypes
  10. FutureEffect
  11. FutureInterpretation
  12. FutureCreation
  13. ChooseEffect
  14. ChooseInterpretation
  15. ChooseCreation
  16. ValidateEffect
  17. ValidateInterpretation
  18. ValidateCreation
  19. XorEffect
  20. XorInterpretation
  21. XorCreation
  22. ListEffect
  23. ListInterpretation
  24. ListCreation
  25. OptionEffect
  26. OptionInterpretation
  27. OptionCreation
  28. EvalEffect
  29. EvalInterpretation
  30. EvalCreation
  31. EvalTypes
  32. StateEffect
  33. StateInterpretation
  34. StateCreation
  35. WriterEffect
  36. WriterInterpretation
  37. WriterCreation
  38. ReaderEffect
  39. ReaderInterpretation
  40. ReaderCreation
  41. AnyRef
  42. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. type ThrowableXor[A] = Xor[Throwable, A]

    Permalink
    Definition Classes
    XorCreation
  2. type _Choose[R] = Member[Choose, R]

    Permalink
    Definition Classes
    ChooseCreation
  3. type _Eval[R] = Member[Eval, R]

    Permalink
    Definition Classes
    EvalTypes
  4. type _Future[R] = Member[Future, R]

    Permalink
    Definition Classes
    FutureCreation
  5. type _List[R] = Member[List, R]

    Permalink
    Definition Classes
    ListCreation
  6. type _Option[R] = Member[Option, R]

    Permalink
    Definition Classes
    OptionCreation
  7. type _Safe[R] = Member[Safe, R]

    Permalink
    Definition Classes
    SafeTypes
  8. type _ThrowableXor[R] = Member[ThrowableXor, R]

    Permalink
    Definition Classes
    XorCreation
  9. type _choose[R] = MemberIn[Choose, R]

    Permalink
    Definition Classes
    ChooseCreation
  10. type _eval[R] = MemberIn[Eval, R]

    Permalink
    Definition Classes
    EvalTypes
  11. type _future[R] = MemberIn[Future, R]

    Permalink
    Definition Classes
    FutureCreation
  12. type _list[R] = MemberIn[List, R]

    Permalink
    Definition Classes
    ListCreation
  13. type _option[R] = MemberIn[Option, R]

    Permalink
    Definition Classes
    OptionCreation
  14. type _safe[R] = MemberIn[Safe, R]

    Permalink
    Definition Classes
    SafeTypes
  15. type _throwableXor[R] = MemberIn[ThrowableXor, R]

    Permalink
    Definition Classes
    XorCreation

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 ApplicativeFuture(implicit ec: ExecutionContext): Applicative[Future]

    Permalink
    Definition Classes
    FutureInterpretation
  5. def EffApplicative[R]: Applicative[[β$2$]Eff[R, β$2$]]

    Permalink
    Definition Classes
    EffImplicits
  6. implicit def EffMonad[R]: Monad[[β$0$]Eff[R, β$0$]]

    Permalink

    Monad implementation for the Eff[R, ?] type

    Monad implementation for the Eff[R, ?] type

    Definition Classes
    EffImplicits
  7. def EvalFold[A](f: (A) ⇒ Eval[Unit]): LeftFold[A, Eval[Unit]]

    Permalink
    Definition Classes
    WriterInterpretation
  8. implicit def ListFold[A]: LeftFold[A, List[A]]

    Permalink
    Definition Classes
    WriterInterpretation
  9. def MonoidFold[A](implicit arg0: Monoid[A]): LeftFold[A, A]

    Permalink
    Definition Classes
    WriterInterpretation
  10. def UnsafeFold[A](f: (A) ⇒ Unit): LeftFold[A, Unit]

    Permalink
    Definition Classes
    WriterInterpretation
  11. def andFinally[R, A](action: Eff[R, A], last: Eff[R, Unit])(implicit m: <=[Safe, R]): Eff[R, A]

    Permalink

    evaluate 1 action possibly having error effects execute a second action whether the first is successful or not but keep track of finalizer exceptions

    evaluate 1 action possibly having error effects execute a second action whether the first is successful or not but keep track of finalizer exceptions

    Definition Classes
    SafeInterpretation
  12. def ap[R, A, B](a: Eff[R, A])(f: Eff[R, (A) ⇒ B]): Eff[R, B]

    Permalink

    apply a function to an Eff value using the applicative instance

    apply a function to an Eff value using the applicative instance

    Definition Classes
    EffCreation
  13. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  14. def ask[R, T](implicit member: |=[[β$0$]Kleisli[[A]A, T, β$0$], R]): Eff[R, T]

    Permalink

    get the environment

    get the environment

    Definition Classes
    ReaderCreation
  15. def async[R, A](a: ⇒ A)(implicit arg0: _future[R], ec: ExecutionContext): Eff[R, A]

    Permalink
    Definition Classes
    FutureCreation
  16. def attempt[R, A](action: Eff[R, A])(implicit m: <=[Safe, R]): Eff[R, Xor[Throwable, A]]

    Permalink

    try to execute an action an report any issue

    try to execute an action an report any issue

    Definition Classes
    SafeInterpretation
  17. def attemptEval[R, U, A](r: Eff[R, A])(implicit m: Aux[Eval, R, U]): Eff[U, Xor[Throwable, A]]

    Permalink
    Definition Classes
    EvalInterpretation
  18. def attemptFuture[R, A](f: ⇒ Future[A])(implicit arg0: _future[R], arg1: EvalTypes._eval[R], arg2: XorCreation._throwableXor[R], ec: ExecutionContext): Eff[R, A]

    Permalink
    Definition Classes
    FutureCreation
  19. def attemptSafe[R, A](r: Eff[R, A])(implicit m: <=[Safe, R]): Eff[R, (xor.ThrowableXor[A], List[Throwable])]

    Permalink

    Attempt to execute a safe action including finalizers

    Attempt to execute a safe action including finalizers

    Definition Classes
    SafeInterpretation
  20. def awaitFuture[R, U, A](r: Eff[R, A])(atMost: Duration)(implicit m: Aux[Future, R, U], ec: ExecutionContext): Eff[U, Xor[Throwable, A]]

    Permalink
    Definition Classes
    FutureInterpretation
  21. def bracket[R, A, B, C](acquire: Eff[R, A])(step: (A) ⇒ Eff[R, B])(release: (A) ⇒ Eff[R, C])(implicit m: <=[Safe, R]): Eff[R, B]

    Permalink
    Definition Classes
    SafeInterpretation
  22. def catchLeft[R, E, A](r: Eff[R, A])(handle: (E) ⇒ Eff[R, A])(implicit member: <=[[β$10$]Xor[E, β$10$], R]): Eff[R, A]

    Permalink

    catch and handle a possible left value

    catch and handle a possible left value

    Definition Classes
    XorInterpretation
  23. def catchThrowable[R, A, B](action: Eff[R, A], pureValue: (A) ⇒ B, onThrowable: (Throwable) ⇒ Eff[R, B])(implicit m: <=[Safe, R]): Eff[R, B]

    Permalink

    evaluate 1 action possibly having error effects

    evaluate 1 action possibly having error effects

    Execute a second action if the first one is not successful, based on the error

    Definition Classes
    SafeInterpretation
  24. def catchWrong[R, E, A](r: Eff[R, A])(handle: (E) ⇒ Eff[R, A])(implicit member: <=[[β$14$]Validate[E, β$14$], R]): Eff[R, A]

    Permalink

    catch and handle possible wrong values

    catch and handle possible wrong values

    Definition Classes
    ValidateInterpretation
  25. def chooseFrom[R, A](as: List[A])(implicit arg0: _choose[R]): Eff[R, A]

    Permalink
    Definition Classes
    ChooseCreation
  26. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. def collapse[R, M[_], A](r: Eff[R, M[A]])(implicit m: |=[M, R]): Eff[R, A]

    Permalink

    use the internal effect as one of the stack effects

    use the internal effect as one of the stack effects

    Definition Classes
    EffCreation
  28. def correct[R, E, A](a: A)(implicit m: |=[[β$4$]Validate[E, β$4$], R]): Eff[R, A]

    Permalink

    create a correct value

    create a correct value

    Definition Classes
    ValidateCreation
  29. def delay[R, A](a: ⇒ A)(implicit arg0: _eval[R]): Eff[R, A]

    Permalink
    Definition Classes
    EvalCreation
  30. def detach[M[_], A](eff: Eff[Fx1[M], A])(implicit arg0: Monad[M]): M[A]

    Permalink

    peel-off the only present effect

    peel-off the only present effect

    Definition Classes
    EffInterpretation
  31. def effInto[R, U, A](e: Eff[R, A])(implicit f: IntoPoly[R, U]): Eff[U, A]

    Permalink

    An Eff[R, A] value can be transformed into an Eff[U, A] value provided that all the effects in R are also in U

    An Eff[R, A] value can be transformed into an Eff[U, A] value provided that all the effects in R are also in U

    Definition Classes
    EffInterpretation
  32. def empty[R, A](implicit arg0: _list[R]): Eff[R, A]

    Permalink

    create a list effect with no values

    create a list effect with no values

    Definition Classes
    ListCreation
  33. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  35. def eval[R, A](a: Eval[A])(implicit arg0: _safe[R]): Eff[R, A]

    Permalink
    Definition Classes
    SafeCreation
  36. def evalState[R, U, S, A](initial: S)(w: Eff[R, A])(implicit m: Aux[[β$8$]StateT[Eval, S, β$8$], R, U]): Eff[U, A]

    Permalink

    run a state effect, with an initial value, return only the value

    run a state effect, with an initial value, return only the value

    Definition Classes
    StateInterpretation
  37. def evalStateZero[R, U, S, A](w: Eff[R, A])(implicit arg0: Monoid[S], m: Aux[[β$7$]StateT[Eval, S, β$7$], R, U]): Eff[U, A]

    Permalink

    run a state effect, with a Monoidal state

    run a state effect, with a Monoidal state

    Definition Classes
    StateInterpretation
  38. def exception[R, A](t: Throwable)(implicit arg0: _safe[R]): Eff[R, A]

    Permalink
    Definition Classes
    SafeCreation
  39. def execSafe[R, U, A](r: Eff[R, A])(implicit m: Aux[Safe, R, U]): Eff[U, xor.ThrowableXor[A]]

    Permalink

    run a safe effect but drop the finalizer errors

    run a safe effect but drop the finalizer errors

    Definition Classes
    SafeInterpretation
  40. def execState[R, U, S, A](initial: S)(w: Eff[R, A])(implicit m: Aux[[β$10$]StateT[Eval, S, β$10$], R, U]): Eff[U, S]

    Permalink

    run a state effect, with an initial value, return only the state

    run a state effect, with an initial value, return only the state

    Definition Classes
    StateInterpretation
  41. def execStateZero[R, U, S, A](w: Eff[R, A])(implicit arg0: Monoid[S], m: Aux[[β$9$]StateT[Eval, S, β$9$], R, U]): Eff[U, S]

    Permalink

    run a state effect, with a monoidal state, return only the state

    run a state effect, with a monoidal state, return only the state

    Definition Classes
    StateInterpretation
  42. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  43. def finalizerException[R](t: Throwable)(implicit arg0: _safe[R]): Eff[R, Unit]

    Permalink
    Definition Classes
    SafeCreation
  44. def fromList[R, A](as: List[A])(implicit arg0: _list[R]): Eff[R, A]

    Permalink

    create a list effect from a list of values

    create a list effect from a list of values

    Definition Classes
    ListCreation
  45. def fromOption[R, A](o: Option[A])(implicit arg0: _option[R]): Eff[R, A]

    Permalink

    create an Option effect from a single Option value

    create an Option effect from a single Option value

    Definition Classes
    OptionCreation
  46. def fromXor[R, E, A](xor: Xor[E, A])(implicit member: |=[[β$1$]Xor[E, β$1$], R]): Eff[R, A]

    Permalink

    create an Xor effect from a single Xor value

    create an Xor effect from a single Xor value

    Definition Classes
    XorCreation
  47. def get[R, S](implicit member: |=[[β$2$]StateT[Eval, S, β$2$], R]): Eff[R, S]

    Permalink

    get the current state value

    get the current state value

    Definition Classes
    StateCreation
  48. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  49. def gets[R, S, T](f: (S) ⇒ T)(implicit member: |=[[β$4$]StateT[Eval, S, β$4$], R]): Eff[R, T]

    Permalink

    get the current state value and map it with a function f

    get the current state value and map it with a function f

    Definition Classes
    StateCreation
  50. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  51. def ignoreException[R, E <: Throwable, A](action: Eff[R, A])(implicit arg0: ClassTag[E], m: <=[Safe, R]): Eff[R, Unit]

    Permalink

    ignore one possible exception that could be thrown

    ignore one possible exception that could be thrown

    Definition Classes
    SafeInterpretation
  52. def impure[R, X, A](union: Union[R, X], continuation: Arrs[R, X, A]): Eff[R, A]

    Permalink

    create a impure value from an union of effects and a continuation

    create a impure value from an union of effects and a continuation

    Definition Classes
    EffCreation
  53. final def isInstanceOf[T0]: Boolean

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

    Permalink

    create a failed value

    create a failed value

    Definition Classes
    XorCreation
  55. def lensState[TS, SS, U, T, S, A](state: Eff[TS, A], getter: (S) ⇒ T, setter: (S, T) ⇒ S)(implicit ts: Aux[[β$16$]StateT[Eval, T, β$16$], TS, U], ss: Aux[[β$17$]StateT[Eval, S, β$17$], SS, U]): Eff[SS, A]

    Permalink

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

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

    Definition Classes
    StateInterpretation
  56. def liftFuture[R, A](f: ⇒ Future[A])(implicit arg0: _future[R], arg1: EvalTypes._eval[R]): Eff[R, A]

    Permalink
    Definition Classes
    FutureCreation
  57. def local[R, T, U](f: (T) ⇒ U)(implicit member: |=[[β$1$]Kleisli[[A]A, T, β$1$], R]): Eff[R, U]

    Permalink

    modify the environment

    modify the environment

    Definition Classes
    ReaderCreation
  58. def localReader[R, U, S, B, A](e: Eff[R, A], getter: (B) ⇒ S)(implicit sr: Aux[[β$6$]Kleisli[[A]A, S, β$6$], R, U], br: |=[[β$7$]Kleisli[[A]A, B, β$7$], U]): Eff[U, A]

    Permalink

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

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

    Definition Classes
    ReaderInterpretation
  59. def localXor[SR, BR, U, E1, E2, A](r: Eff[SR, A], getter: (E1) ⇒ E2)(implicit sr: Aux[[β$13$]Xor[E1, β$13$], SR, U], br: Aux[[β$14$]Xor[E2, β$14$], 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
    XorInterpretation
  60. def modify[R, S](f: (S) ⇒ S)(implicit member: |=[[β$6$]StateT[Eval, S, β$6$], R]): Eff[R, Unit]

    Permalink

    modify the current state value

    modify the current state value

    Definition Classes
    StateCreation
  61. def modifyReader[R1, R2, U, S, T, A](e: Eff[R1, A])(f: (T) ⇒ S)(implicit readerS: Aux[[β$10$]Kleisli[[A]A, S, β$10$], R1, U], readerT: Aux[[β$11$]Kleisli[[A]A, T, β$11$], R2, U]): Eff[R2, A]

    Permalink

    Modify the read value

    Modify the read value

    Definition Classes
    ReaderInterpretation
  62. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  63. def none[R, A](implicit arg0: _option[R]): Eff[R, A]

    Permalink

    no value returned

    no value returned

    Definition Classes
    OptionCreation
  64. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  66. def now[R, A](a: A)(implicit arg0: _eval[R]): Eff[R, A]

    Permalink
    Definition Classes
    EvalCreation
  67. def optimise[R, T[_], A](eff: Eff[R, A])(optimisable: Optimisable[T])(implicit m: /=[T, R]): Eff[R, A]

    Permalink

    Optimise the applicative calls in a program using a given effect T by replacing them with other "optimised" calls.

    Optimise the applicative calls in a program using a given effect T by replacing them with other "optimised" calls.

    This operation relies on well-behaved "Optimisable" instances.

    Definition Classes
    Optimise
  68. def optimiseBatching[R, T[_], A](eff: Eff[R, A])(implicit m: /=[T, R], semigroup: Semigroup[T[Any]]): Eff[R, A]

    Permalink
    Definition Classes
    Optimise
  69. def optimiseSemigroup[R, T[_], A](eff: Eff[R, A])(distribute: (Any) ⇒ List[Any])(implicit m: /=[T, R], semigroup: Semigroup[T[Any]]): Eff[R, A]

    Permalink
    Definition Classes
    Optimise
  70. def optionXor[R, E, A](option: Option[A], e: E)(implicit member: |=[[β$0$]Xor[E, β$0$], R]): Eff[R, A]

    Permalink

    create an Xor effect from a single Option value

    create an Xor effect from a single Option value

    Definition Classes
    XorCreation
  71. def otherwise[R, A](action: Eff[R, A], onThrowable: Eff[R, A])(implicit m: <=[Safe, R]): Eff[R, A]

    Permalink

    evaluate 1 action possibly having error effects

    evaluate 1 action possibly having error effects

    Execute a second action if the first one is not successful

    Definition Classes
    SafeInterpretation
  72. def plus[R, A](a1: Eff[R, A], a2: Eff[R, A])(implicit arg0: _choose[R]): Eff[R, A]

    Permalink
    Definition Classes
    ChooseCreation
  73. def protect[R, A](a: ⇒ A)(implicit arg0: _safe[R]): Eff[R, A]

    Permalink
    Definition Classes
    SafeCreation
  74. def pure[R, A](a: A): Eff[R, A]

    Permalink

    create a pure value

    create a pure value

    Definition Classes
    EffCreation
  75. def put[R, S](s: S)(implicit member: |=[[β$0$]StateT[Eval, S, β$0$], R]): Eff[R, Unit]

    Permalink

    store a new state value

    store a new state value

    Definition Classes
    StateCreation
  76. def right[R, E, A](a: A)(implicit member: |=[[β$4$]Xor[E, β$4$], R]): Eff[R, A]

    Permalink

    create a correct value

    create a correct value

    Definition Classes
    XorCreation
  77. def run[A](eff: Eff[NoFx, A]): A

    Permalink

    base runner for an Eff value having no effects at all

    base runner for an Eff value having no effects at all

    This runner can only return the value in Pure because it doesn't known how to interpret the effects in Impure

    Definition Classes
    EffInterpretation
  78. def runChoose[R, U, A, F[_]](r: Eff[R, A])(implicit arg0: Alternative[F], m: Aux[Choose, R, U]): Eff[U, F[A]]

    Permalink
    Definition Classes
    ChooseInterpretation
  79. def runEither[R, U, E, A](r: Eff[R, A])(implicit m: Aux[[β$9$]Xor[E, β$9$], R, U]): Eff[U, Either[E, A]]

    Permalink

    run the xor effect, yielding Either[E, A]

    run the xor effect, yielding Either[E, A]

    Definition Classes
    XorInterpretation
  80. def runEval[R, U, A](r: Eff[R, A])(implicit m: Aux[Eval, R, U]): Eff[U, A]

    Permalink
    Definition Classes
    EvalInterpretation
  81. def runList[R, U, A](effects: Eff[R, A])(implicit m: Aux[List, R, U]): Eff[U, List[A]]

    Permalink

    run an effect stack starting with a list effect

    run an effect stack starting with a list effect

    Definition Classes
    ListInterpretation
  82. def runLocalXor[R, U, E1, E2, A](r: Eff[R, A], getter: (E1) ⇒ E2)(implicit sr: Aux[[β$19$]Xor[E1, β$19$], R, U], br: |=[[β$20$]Xor[E2, β$20$], 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
    XorInterpretation
  83. def runMap[R, U, E, L, A](r: Eff[R, A])(map: (E) ⇒ L)(implicit arg0: Semigroup[L], m: Aux[[β$10$]Validate[E, β$10$], R, U]): Eff[U, Xor[L, A]]

    Permalink

    run the validate effect, yielding a list of failures Xor A

    run the validate effect, yielding a list of failures Xor A

    Definition Classes
    ValidateInterpretation
  84. def runNel[R, U, E, A](r: Eff[R, A])(implicit m: Aux[[β$9$]Validate[E, β$9$], R, U]): Eff[U, Xor[NonEmptyList[E], A]]

    Permalink

    run the validate effect, yielding a non-empty list of failures Xor A

    run the validate effect, yielding a non-empty list of failures Xor A

    Definition Classes
    ValidateInterpretation
  85. def runOption[R, U, A](r: Eff[R, A])(implicit m: Aux[Option, R, U]): Eff[U, Option[A]]

    Permalink

    Interpret the Option effect

    Interpret the Option effect

    Stop all computations if None is present once

    Definition Classes
    OptionInterpretation
  86. def runPure[R, A](eff: Eff[R, A]): Option[A]

    Permalink

    get the pure value if there is no effect

    get the pure value if there is no effect

    Definition Classes
    EffInterpretation
  87. def runReader[R, U, A, B](env: A)(r: Eff[R, B])(implicit m: Aux[[β$3$]Kleisli[[A]A, A, β$3$], R, U]): Eff[U, B]

    Permalink

    interpret the Reader effect by providing an environment when required

    interpret the Reader effect by providing an environment when required

    Definition Classes
    ReaderInterpretation
  88. def runSafe[R, U, A](r: Eff[R, A])(implicit m: Aux[Safe, R, U]): Eff[U, (xor.ThrowableXor[A], List[Throwable])]

    Permalink

    Run a safe effect

    Run a safe effect

    Collect finalizer exceptions if any

    Definition Classes
    SafeInterpretation
  89. def runState[R, U, S1, A](initial: S1)(w: Eff[R, A])(implicit m: Aux[[β$12$]StateT[Eval, S1, β$12$], R, U]): Eff[U, (A, S1)]

    Permalink

    run a state effect, with an initial value

    run a state effect, with an initial value

    Definition Classes
    StateInterpretation
  90. def runStateZero[R, U, S, A](w: Eff[R, A])(implicit arg0: Monoid[S], m: Aux[[β$11$]StateT[Eval, S, β$11$], R, U]): Eff[U, (A, S)]

    Permalink

    run a state effect, with an initial value

    run a state effect, with an initial value

    Definition Classes
    StateInterpretation
  91. def runValidatedNel[R, U, E, A](r: Eff[R, A])(implicit m: Aux[[β$8$]Validate[E, β$8$], R, U]): Eff[U, ValidatedNel[E, A]]

    Permalink

    run the validate effect, yielding a ValidatedNel

    run the validate effect, yielding a ValidatedNel

    Definition Classes
    ValidateInterpretation
  92. def runWriter[R, U, O, A, B](w: Eff[R, A])(implicit m: Aux[[β$2$]WriterT[[A]A, O, β$2$], R, U]): Eff[U, (A, List[O])]

    Permalink

    run a writer effect and return the list of written values

    run a writer effect and return the list of written values

    This uses a ListBuffer internally to append values

    Definition Classes
    WriterInterpretation
  93. def runWriterEval[R, U, O, A](w: Eff[R, A])(f: (O) ⇒ Eval[Unit])(implicit m: Aux[[β$8$]WriterT[[A]A, O, β$8$], R, U], ev: |=[Eval, U]): Eff[U, A]

    Permalink
    Definition Classes
    WriterInterpretation
  94. def runWriterFold[R, U, O, A, B](w: Eff[R, A])(fold: LeftFold[O, B])(implicit m: Aux[[β$3$]WriterT[[A]A, O, β$3$], R, U]): Eff[U, (A, B)]

    Permalink

    More general fold of runWriter where we can use a fold to accumulate values in a mutable buffer

    More general fold of runWriter where we can use a fold to accumulate values in a mutable buffer

    Definition Classes
    WriterInterpretation
  95. def runWriterUnsafe[R, U, O, A](w: Eff[R, A])(f: (O) ⇒ Unit)(implicit m: Aux[[β$7$]WriterT[[A]A, O, β$7$], R, U]): Eff[U, A]

    Permalink

    Run a side-effecting fold

    Run a side-effecting fold

    Definition Classes
    WriterInterpretation
  96. def runXor[R, U, E, A](r: Eff[R, A])(implicit m: Aux[[β$6$]Xor[E, β$6$], R, U]): Eff[U, Xor[E, A]]

    Permalink

    run the xor effect, yielding E Xor A

    run the xor effect, yielding E Xor A

    Definition Classes
    XorInterpretation
  97. def safeLoop[R, U, A]: interpret.Loop[Safe, R, A, Eff[U, (Xor[Throwable, A], Vector[Throwable])]]

    Permalink
    Definition Classes
    SafeInterpretation
  98. def send[T[_], R, V](tv: T[V])(implicit member: |=[T, R]): Eff[R, V]

    Permalink

    create an Eff[R, A] value from an effectful value of type T[V] provided that T is one of the effects of R

    create an Eff[R, A] value from an effectful value of type T[V] provided that T is one of the effects of R

    Definition Classes
    EffCreation
  99. def sequenceA[R, F[_], A](fs: F[Eff[R, A]])(implicit arg0: Traverse[F]): Eff[R, F[A]]

    Permalink

    use the applicative instance of Eff to sequenc a list of values

    use the applicative instance of Eff to sequenc a list of values

    Definition Classes
    EffCreation
  100. def singleton[R, A](a: A)(implicit arg0: _list[R]): Eff[R, A]

    Permalink

    create a list effect from a single value

    create a list effect from a single value

    Definition Classes
    ListCreation
  101. def some[R, A](a: A)(implicit arg0: _option[R]): Eff[R, A]

    Permalink

    a value is returned

    a value is returned

    Definition Classes
    OptionCreation
  102. def sync[R, A](a: A)(implicit arg0: _future[R]): Eff[R, A]

    Permalink
    Definition Classes
    FutureCreation
  103. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  104. def tell[R, O](o: O)(implicit member: |=[[β$0$]WriterT[[A]A, O, β$0$], R]): Eff[R, Unit]

    Permalink

    write a given value

    write a given value

    Definition Classes
    WriterCreation
  105. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  106. def traverseA[R, F[_], A, B](fs: F[A])(f: (A) ⇒ Eff[R, B])(implicit arg0: Traverse[F]): Eff[R, F[B]]

    Permalink

    use the applicative instance of Eff to traverse a list of values

    use the applicative instance of Eff to traverse a list of values

    Definition Classes
    EffCreation
  107. def unit[R]: Eff[R, Unit]

    Permalink

    create an Eff value for ()

    create an Eff value for ()

    Definition Classes
    EffCreation
  108. def validateCheck[R, E](condition: Boolean, e: E)(implicit m: |=[[β$6$]Validate[E, β$6$], R]): Eff[R, Unit]

    Permalink

    check a correct condition

    check a correct condition

    Definition Classes
    ValidateCreation
  109. def validateOption[R, E, A](option: Option[A], e: E)(implicit m: |=[[β$0$]Validate[E, β$0$], R]): Eff[R, Unit]

    Permalink

    create an Validate effect from a single Option value

    create an Validate effect from a single Option value

    Definition Classes
    ValidateCreation
  110. def validateValue[R, E, A](condition: Boolean, a: A, e: E)(implicit m: |=[[β$7$]Validate[E, β$7$], R]): Eff[R, A]

    Permalink

    check a correct value

    check a correct value

    Definition Classes
    ValidateCreation
  111. def validateXor[R, E, A](xor: Xor[E, A])(implicit m: |=[[β$1$]Validate[E, β$1$], R]): Eff[R, Unit]

    Permalink

    create an Validate effect from a single Xor value

    create an Validate effect from a single Xor value

    Definition Classes
    ValidateCreation
  112. def values[R, A](as: A*)(implicit arg0: _list[R]): Eff[R, A]

    Permalink

    create a list effect from a list of values

    create a list effect from a list of values

    Definition Classes
    ListCreation
  113. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  116. def whenFailed[R, A](action: Eff[R, A], onThrowable: (Throwable) ⇒ Eff[R, A])(implicit m: <=[Safe, R]): Eff[R, A]

    Permalink

    evaluate 1 action possibly throwing exceptions

    evaluate 1 action possibly throwing exceptions

    Execute a second action if the first one is not successful, based on the exception

    The final value type is the same as the original type

    Definition Classes
    SafeInterpretation
  117. def wrong[R, E](e: E)(implicit m: |=[[β$2$]Validate[E, β$2$], R]): Eff[R, Unit]

    Permalink

    create a failed value

    create a failed value

    Definition Classes
    ValidateCreation
  118. def zero[R, A](implicit arg0: _choose[R]): Eff[R, A]

    Permalink
    Definition Classes
    ChooseCreation

Inherited from EffImplicits

Inherited from EffCreation

Inherited from EffInterpretation

Inherited from Optimise

Inherited from SafeEffect

Inherited from SafeInterpretation

Inherited from SafeCreation

Inherited from SafeTypes

Inherited from FutureEffect

Inherited from FutureInterpretation

Inherited from FutureCreation

Inherited from ChooseEffect

Inherited from ChooseInterpretation

Inherited from ChooseCreation

Inherited from ValidateEffect

Inherited from ValidateInterpretation

Inherited from ValidateCreation

Inherited from XorEffect

Inherited from XorInterpretation

Inherited from XorCreation

Inherited from ListEffect

Inherited from ListInterpretation

Inherited from ListCreation

Inherited from OptionEffect

Inherited from OptionInterpretation

Inherited from OptionCreation

Inherited from EvalEffect

Inherited from EvalInterpretation

Inherited from EvalCreation

Inherited from EvalTypes

Inherited from StateEffect

Inherited from StateInterpretation

Inherited from StateCreation

Inherited from WriterEffect

Inherited from WriterInterpretation

Inherited from WriterCreation

Inherited from ReaderEffect

Inherited from ReaderInterpretation

Inherited from ReaderCreation

Inherited from AnyRef

Inherited from Any

Ungrouped