Object

org.atnos.eff

all

Related Doc: package eff

Permalink

object all extends ReaderCreation with ReaderInterpretation with WriterCreation with WriterInterpretation with StateCreation with StateInterpretation with EvalCreation with EvalInterpretation with OptionCreation with OptionInterpretation with ListCreation with ListInterpretation with DisjunctionCreation with DisjunctionInterpretation with ChooseCreation with ChooseInterpretation with EffCreation with EffInterpretation with Effects

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. all
  2. Effects
  3. EffInterpretation
  4. EffCreation
  5. ChooseInterpretation
  6. ChooseCreation
  7. DisjunctionInterpretation
  8. DisjunctionCreation
  9. ListInterpretation
  10. ListCreation
  11. OptionInterpretation
  12. OptionCreation
  13. EvalInterpretation
  14. EvalCreation
  15. EvalTypes
  16. StateInterpretation
  17. StateCreation
  18. WriterInterpretation
  19. WriterCreation
  20. ReaderInterpretation
  21. ReaderCreation
  22. AnyRef
  23. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Type Members

  1. type Eval[A] = cats.Eval[A]

    Permalink
    Definition Classes
    EvalTypes
  2. type |:[H[_], T <: Effects] = EffectsCons[H, T]

    Permalink
    Definition Classes
    Effects

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. implicit def ListFold[A]: Fold[A, List[A]]

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

    Permalink
    Definition Classes
    WriterInterpretation
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def ask[R, T](implicit member: Member[[β]Kleisli[[A]A, T, β], R]): Eff[R, T]

    Permalink

    get the environment

    get the environment

    Definition Classes
    ReaderCreation
  8. def askTagged[R, Tg, T](implicit member: Member[[X]AnyRef { ... /* 2 definitions in type refinement */ }, R]): Eff[R, T]

    Permalink

    get the environment

    get the environment

    Definition Classes
    ReaderCreation
  9. def attemptEval[R <: Effects, U <: Effects, A](r: Eff[R, A])(implicit m: Aux[Eval, R, U]): Eff[U, Xor[Throwable, A]]

    Permalink
    Definition Classes
    EvalInterpretation
  10. def catchLeft[R <: Effects, E, A](r: Eff[R, A])(handle: (E) ⇒ Eff[R, A])(implicit member: Member[[β]Xor[E, β], R]): Eff[R, A]

    Permalink

    catch and handle a possible left value

    catch and handle a possible left value

    Definition Classes
    DisjunctionInterpretation
  11. def chooseFrom[R, A](as: List[A])(implicit m: <=[Choose, R]): Eff[R, A]

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  13. def collapse[R, M[_], A](r: Eff[R, M[A]])(implicit m: Member[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
  14. def delay[R, A](a: ⇒ A)(implicit m: Member[Eval, R]): Eff[R, A]

    Permalink
    Definition Classes
    EvalCreation
  15. def detach[M[_], A](eff: Eff[Effects.|:[M, NoEffect], A])(implicit arg0: Monad[M]): M[A]

    Permalink

    peel-off the only present effect

    peel-off the only present effect

    Definition Classes
    EffInterpretation
  16. def effInto[R <: Effects, U, A](e: Eff[R, A])(implicit f: IntoPoly[R, U, A]): 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
  17. def empty[R, A](implicit m: <=[List, R]): Eff[R, A]

    Permalink

    create a list effect with no values

    create a list effect with no values

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  20. def evalState[R <: Effects, U <: Effects, S, A](initial: S)(w: Eff[R, A])(implicit m: Aux[[β]StateT[cats.Eval, S, β], 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
  21. def evalStateTagged[R <: Effects, U <: Effects, T, S, A](initial: S)(w: Eff[R, A])(implicit m: Aux[[X]AnyRef { ... /* 2 definitions in type refinement */ }, 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
  22. def evalStateZero[R <: Effects, U <: Effects, S, A](w: Eff[R, A])(implicit arg0: Monoid[S], m: Aux[[β]StateT[cats.Eval, S, β], 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
  23. def evalStateZeroTagged[R <: Effects, U <: Effects, T, S, A](w: Eff[R, A])(implicit arg0: Monoid[S], m: Aux[[X]AnyRef { ... /* 2 definitions in type refinement */ }, 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
  24. def execState[R <: Effects, U <: Effects, S, A](initial: S)(w: Eff[R, A])(implicit m: Aux[[β]StateT[cats.Eval, S, β], 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
  25. def execStateTagged[R <: Effects, U <: Effects, T, S, A](initial: S)(w: Eff[R, A])(implicit m: Aux[[X]AnyRef { ... /* 2 definitions in type refinement */ }, 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
  26. def execStateZero[R <: Effects, U <: Effects, S, A](w: Eff[R, A])(implicit arg0: Monoid[S], m: Aux[[β]StateT[cats.Eval, S, β], 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
  27. def execStateZeroTagged[R <: Effects, U <: Effects, T, S, A](w: Eff[R, A])(implicit arg0: Monoid[S], m: Aux[[X]AnyRef { ... /* 2 definitions in type refinement */ }, 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
  28. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  29. def fromList[R, A](as: List[A])(implicit m: <=[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
  30. def fromOption[R, E, A](option: Option[A], e: E)(implicit member: Member[[β]Xor[E, β], R]): Eff[R, A]

    Permalink

    create a Disjunction effect from a single Option value

    create a Disjunction effect from a single Option value

    Definition Classes
    DisjunctionCreation
  31. def fromXor[R, E, A](xor: Xor[E, A])(implicit member: Member[[β]Xor[E, β], R]): Eff[R, A]

    Permalink

    create a Disjunction effect from a single Xor value

    create a Disjunction effect from a single Xor value

    Definition Classes
    DisjunctionCreation
  32. def get[R, S](implicit member: Member[[β]StateT[cats.Eval, S, β], R]): Eff[R, S]

    Permalink

    get the current state value

    get the current state value

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

    Permalink
    Definition Classes
    AnyRef → Any
  34. def getTagged[R, T, S](implicit member: Member[[X]AnyRef { ... /* 2 definitions in type refinement */ }, R]): Eff[R, S]

    Permalink

    get the current state value

    get the current state value

    Definition Classes
    StateCreation
  35. def gets[R, S, T](f: (S) ⇒ T)(implicit member: Member[[β]StateT[cats.Eval, S, β], 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
  36. def getsTagged[R, U, S, T](f: (S) ⇒ T)(implicit member: Member[[X]AnyRef { ... /* 2 definitions in type refinement */ }, 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
  37. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  38. 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
  39. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  40. def left[R, E, A](e: E)(implicit member: Member[[β]Xor[E, β], R]): Eff[R, A]

    Permalink

    create a failed value

    create a failed value

    Definition Classes
    DisjunctionCreation
  41. def local[R, T, U](f: (T) ⇒ U)(implicit member: Member[[β]Kleisli[[A]A, T, β], R]): Eff[R, U]

    Permalink

    modify the environment

    modify the environment

    Definition Classes
    ReaderCreation
  42. def localTagged[R, Tg, T, U](f: (T) ⇒ U)(implicit member: Member[[X]AnyRef { ... /* 2 definitions in type refinement */ }, R]): Eff[R, U]

    Permalink

    modify the environment

    modify the environment

    Definition Classes
    ReaderCreation
  43. def modify[R, S](f: (S) ⇒ S)(implicit member: Member[[β]StateT[cats.Eval, S, β], R]): Eff[R, Unit]

    Permalink

    modify the current state value

    modify the current state value

    Definition Classes
    StateCreation
  44. def modifyTagged[R, T, S](f: (S) ⇒ S)(implicit member: Member[[X]AnyRef { ... /* 2 definitions in type refinement */ }, R]): Eff[R, Unit]

    Permalink

    modify the current state value

    modify the current state value

    Definition Classes
    StateCreation
  45. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  46. def none[R, A](implicit member: Member[Option, R]): Eff[R, A]

    Permalink

    no value returned

    no value returned

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

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

    Permalink
    Definition Classes
    AnyRef
  49. def now[R, A](a: A)(implicit m: Member[Eval, R]): Eff[R, A]

    Permalink
    Definition Classes
    EvalCreation
  50. def option[R, A](o: Option[A])(implicit member: Member[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
  51. def plus[R, A](a1: Eff[R, A], a2: Eff[R, A])(implicit m: <=[Choose, R]): Eff[R, A]

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

    Permalink

    create a pure value

    create a pure value

    Definition Classes
    EffCreation
  53. def put[R, S](s: S)(implicit member: Member[[β]StateT[cats.Eval, S, β], R]): Eff[R, Unit]

    Permalink

    store a new state value

    store a new state value

    Definition Classes
    StateCreation
  54. def putTagged[R, T, S](s: S)(implicit member: Member[[X]AnyRef { ... /* 2 definitions in type refinement */ }, R]): Eff[R, Unit]

    Permalink

    store a new state value

    store a new state value

    Definition Classes
    StateCreation
  55. def right[R, E, A](a: A)(implicit member: Member[[β]Xor[E, β], R]): Eff[R, A]

    Permalink

    create a correct value

    create a correct value

    Definition Classes
    DisjunctionCreation
  56. def run[A](eff: Eff[NoEffect, 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
  57. def runChoose[R <: Effects, U <: Effects, A, F[_]](r: Eff[R, A])(implicit arg0: Alternative[F], m: Aux[Choose, R, U]): Eff[U, F[A]]

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

    Permalink

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

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

    Definition Classes
    DisjunctionInterpretation
  59. def runEval[R <: Effects, U <: Effects, A](r: Eff[R, A])(implicit m: Aux[Eval, R, U]): Eff[U, A]

    Permalink
    Definition Classes
    EvalInterpretation
  60. def runList[R <: Effects, U <: Effects, 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
  61. def runOption[R <: Effects, U <: Effects, 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
  62. def runReader[R <: Effects, U <: Effects, A, B](env: A)(r: Eff[R, B])(implicit m: Aux[[β]Kleisli[[A]A, A, β], 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
  63. def runReaderTagged[R <: Effects, U <: Effects, T, A, B](env: A)(r: Eff[R, B])(implicit m: Aux[[X]AnyRef { ... /* 2 definitions in type refinement */ }, R, U]): Eff[U, B]

    Permalink

    interpret a tagged Reader effect by providing an environment when required

    interpret a tagged Reader effect by providing an environment when required

    Definition Classes
    ReaderInterpretation
  64. def runState[R <: Effects, U <: Effects, S1, A](initial: S1)(w: Eff[R, A])(implicit m: Aux[[β]StateT[cats.Eval, S1, β], 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
  65. def runStateTagged[R <: Effects, U <: Effects, T, S1, A](initial: S1)(w: Eff[R, A])(implicit m: Aux[[X]AnyRef { ... /* 2 definitions in type refinement */ }, R, U]): Eff[U, (A, S1)]

    Permalink

    run a tagged state effect, with an initial value

    run a tagged state effect, with an initial value

    Definition Classes
    StateInterpretation
  66. def runStateZero[R <: Effects, U <: Effects, S, A](w: Eff[R, A])(implicit arg0: Monoid[S], m: Aux[[β]StateT[cats.Eval, S, β], 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
  67. def runStateZeroTagged[R <: Effects, U <: Effects, T, S, A](w: Eff[R, A])(implicit arg0: Monoid[S], m: Aux[[X]AnyRef { ... /* 2 definitions in type refinement */ }, 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
  68. def runTaggedWriterFold[R <: Effects, U <: Effects, T, O, A, B](w: Eff[R, A])(fold: Fold[O, B])(implicit m: Aux[[X]AnyRef { ... /* 2 definitions in type refinement */ }, R, U]): Eff[U, (A, B)]

    Permalink
    Definition Classes
    WriterInterpretation
  69. def runWriter[R <: Effects, U <: Effects, O, A, B](w: Eff[R, A])(implicit m: Aux[[β]WriterT[[A]A, O, β], 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
  70. def runWriterFold[R <: Effects, U <: Effects, O, A, B](w: Eff[R, A])(fold: Fold[O, B])(implicit m: Aux[[β]WriterT[[A]A, O, β], 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
  71. def runWriterTagged[R <: Effects, U <: Effects, T, O, A](w: Eff[R, A])(implicit m: Aux[[X]AnyRef { ... /* 2 definitions in type refinement */ }, R, U]): Eff[U, (A, List[O])]

    Permalink

    run a tagged writer effect

    run a tagged writer effect

    Definition Classes
    WriterInterpretation
  72. def runXor[R <: Effects, U <: Effects, E, A](r: Eff[R, A])(implicit m: Aux[[β]Xor[E, β], R, U]): Eff[U, Xor[E, A]]

    Permalink

    run the disjunction effect, yielding E Xor A

    run the disjunction effect, yielding E Xor A

    Definition Classes
    DisjunctionInterpretation
  73. def send[T[_], R, V](tv: T[V])(implicit member: 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
  74. def singleton[R, A](a: A)(implicit m: <=[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
  75. def some[R, A](a: A)(implicit member: Member[Option, R]): Eff[R, A]

    Permalink

    a value is returned

    a value is returned

    Definition Classes
    OptionCreation
  76. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  77. def tell[R, O](o: O)(implicit member: Member[[β]WriterT[[A]A, O, β], R]): Eff[R, Unit]

    Permalink

    write a given value

    write a given value

    Definition Classes
    WriterCreation
  78. def tellTagged[R, T, O](o: O)(implicit member: Member[[X]AnyRef { ... /* 2 definitions in type refinement */ }, R]): Eff[R, Unit]

    Permalink

    write a given value

    write a given value

    Definition Classes
    WriterCreation
  79. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  80. def unit[R]: Eff[R, Unit]

    Permalink

    create an Eff value for ()

    create an Eff value for ()

    Definition Classes
    EffCreation
  81. def values[R, A](as: A*)(implicit m: <=[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
  82. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  85. def zero[R, A](implicit m: <=[Choose, R]): Eff[R, A]

    Permalink
    Definition Classes
    ChooseCreation
  86. val |:: EffectsCons.type

    Permalink
    Definition Classes
    Effects

Inherited from Effects

Inherited from EffInterpretation

Inherited from EffCreation

Inherited from ChooseInterpretation

Inherited from ChooseCreation

Inherited from DisjunctionInterpretation

Inherited from DisjunctionCreation

Inherited from ListInterpretation

Inherited from ListCreation

Inherited from OptionInterpretation

Inherited from OptionCreation

Inherited from EvalInterpretation

Inherited from EvalCreation

Inherited from EvalTypes

Inherited from StateInterpretation

Inherited from StateCreation

Inherited from WriterInterpretation

Inherited from WriterCreation

Inherited from ReaderInterpretation

Inherited from ReaderCreation

Inherited from AnyRef

Inherited from Any

Ungrouped