trait ReaderEffect extends ReaderCreation with ReaderInterpretation with ReaderImplicits
Effect for computations depending on an environment.
The inside datatype for this effect is scalaz.Reader
Several Reader effects can be present in a given stack provided that they are tagged with scala.Tag.
A tagged Reader effect can be run with runTaggedReader
- Alphabetic
- By Inheritance
- ReaderEffect
- ReaderImplicits
- ReaderImplicits1
- ReaderInterpretation
- ReaderCreation
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
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
-
implicit
def
TaggedReaderMemberFirst[R <: Effects, Tg, A]: Aux[[X]AnyRef { ... /* 2 definitions in type refinement */ }, Effects.|:[[X]AnyRef { ... /* 2 definitions in type refinement */ }, R], R]
- Definition Classes
- ReaderImplicits
-
implicit
def
TaggedReaderMemberSuccessor[O[_], R <: Effects, U <: Effects, Tg, A](implicit m: Aux[[X]AnyRef { ... /* 2 definitions in type refinement */ }, R, U]): Aux[[X]AnyRef { ... /* 2 definitions in type refinement */ }, Effects.|:[O, R], Effects.|:[O, U]]
- Definition Classes
- ReaderImplicits1
-
implicit
def
TaggedReaderMemberZero[Tg, A]: Aux[[X]AnyRef { ... /* 2 definitions in type refinement */ }, Effects.|:[[X]AnyRef { ... /* 2 definitions in type refinement */ }, NoEffect], NoEffect]
- Definition Classes
- ReaderImplicits
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
ask[R, T](implicit member: Member[[X]Kleisli[[X]X, T, X], R]): Eff[R, T]
get the environment
get the environment
- Definition Classes
- ReaderCreation
-
def
askTagged[R, Tg, T](implicit member: Member[[X]AnyRef { ... /* 2 definitions in type refinement */ }, R]): Eff[R, T]
get the environment
get the environment
- Definition Classes
- ReaderCreation
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @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] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
local[R, T, U](f: (T) ⇒ U)(implicit member: Member[[X]Kleisli[[X]X, T, X], R]): Eff[R, U]
modify the environment
modify the environment
- Definition Classes
- ReaderCreation
-
def
localReader[SR, BR, U, S, B, A](r: Eff[SR, A], getter: (B) ⇒ S)(implicit sr: Aux[[X]Kleisli[[X]X, S, X], SR, U], br: Aux[[X]Kleisli[[X]X, B, X], BR, U]): Eff[BR, A]
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
-
def
localTagged[R, Tg, T, U](f: (T) ⇒ U)(implicit member: Member[[X]AnyRef { ... /* 2 definitions in type refinement */ }, R]): Eff[R, U]
modify the environment
modify the environment
- Definition Classes
- ReaderCreation
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
def
runReader[R <: Effects, U <: Effects, A, B](env: A)(r: Eff[R, B])(implicit m: Aux[[X]Kleisli[[X]X, A, X], 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
-
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]
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
-
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
- @throws( ... )