Packages

trait ReaderEffect extends ReaderCreation with ReaderInterpretation

Effect for computations depending on an environment.

The inside datatype for this effect is cats.data.Reader

Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ReaderEffect
  2. ReaderInterpretation
  3. ReaderCreation
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def ask[R, T](implicit member: |=[[β$0$]Kleisli[[A]A, T, β$0$], R]): Eff[R, T]

    get the environment

    get the environment

    Definition Classes
    ReaderCreation
  6. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  9. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  11. def hashCode(): Int
    Definition Classes
    AnyRef → Any
  12. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  13. def local[R, T, U](f: (T) ⇒ U)(implicit member: |=[[β$1$]Kleisli[[A]A, T, β$1$], R]): Eff[R, U]

    modify the environment

    modify the environment

    Definition Classes
    ReaderCreation
  14. def localReader[R, T, A](e: Eff[R, A])(modify: (T) ⇒ T)(implicit r: /=[[β$14$]Kleisli[[A]A, T, β$14$], R]): Eff[R, A]

    Update the read value, the stack of the Eff computation stays the same

    Update the read value, the stack of the Eff computation stays the same

    Definition Classes
    ReaderInterpretation
  15. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. final def notify(): Unit
    Definition Classes
    AnyRef
  17. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  18. 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]

    interpret the Reader effect by providing an environment when required

    interpret the Reader effect by providing an environment when required

    Definition Classes
    ReaderInterpretation
  19. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  20. def toString(): String
    Definition Classes
    AnyRef → Any
  21. def translateReader[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]

    Interpret a Reader effect by using another Reader effect in the same stack

    Interpret a Reader effect by using another Reader effect in the same stack

    Definition Classes
    ReaderInterpretation
  22. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  23. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. def zoomReader[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]

    Modify the type of the read value

    Modify the type of the read value

    This changes the stack of the Eff computation

    Definition Classes
    ReaderInterpretation

Inherited from ReaderInterpretation

Inherited from ReaderCreation

Inherited from AnyRef

Inherited from Any

Ungrouped