Packages

o

cats.data

ReaderWriterStateT

object ReaderWriterStateT extends RWSTFunctions

Source
package.scala
Linear Supertypes
RWSTFunctions, CommonIRWSTConstructors, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ReaderWriterStateT
  2. RWSTFunctions
  3. CommonIRWSTConstructors
  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. def apply[F[_], E, L, S, A](runF: (E, S) ⇒ F[(L, S, A)])(implicit F: Applicative[F]): ReaderWriterStateT[F, E, L, S, A]

    Construct a new computation using the provided function.

    Construct a new computation using the provided function.

    Definition Classes
    RWSTFunctions
  5. def applyF[F[_], E, L, S, A](runF: F[(E, S) ⇒ F[(L, S, A)]]): ReaderWriterStateT[F, E, L, S, A]

    Like apply, but using a function in a context F.

    Like apply, but using a function in a context F.

    Definition Classes
    RWSTFunctions
  6. def applyS[F[_], E, L, S, A](f: (S) ⇒ F[(L, S, A)])(implicit arg0: Applicative[F]): IndexedReaderWriterStateT[F, E, L, S, S, A]

    Like apply, but using a effectful function from S.

    Like apply, but using a effectful function from S.

    Definition Classes
    RWSTFunctions
  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. def ask[F[_], E, L, S](implicit F: Applicative[F], L: Monoid[L]): IndexedReaderWriterStateT[F, E, L, S, S, E]

    Get the provided environment, without modifying the input state.

    Get the provided environment, without modifying the input state.

    Definition Classes
    CommonIRWSTConstructors
  9. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @IntrinsicCandidate()
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  12. def get[F[_], E, L, S](implicit F: Applicative[F], L: Monoid[L]): IndexedReaderWriterStateT[F, E, L, S, S, S]

    Return the input state without modifying it.

    Return the input state without modifying it.

    Definition Classes
    CommonIRWSTConstructors
  13. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  14. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  15. def inspect[F[_], E, L, S, A](f: (S) ⇒ A)(implicit F: Applicative[F], L: Monoid[L]): IndexedReaderWriterStateT[F, E, L, S, S, A]

    Inspect a value from the input state, without modifying the state.

    Inspect a value from the input state, without modifying the state.

    Definition Classes
    CommonIRWSTConstructors
  16. def inspectAsk[F[_], E, L, S, A](f: (E, S) ⇒ A)(implicit arg0: Applicative[F], arg1: Monoid[L]): ReaderWriterStateT[F, E, L, S, A]

    Inspect values from the environment and input state, without modifying the state.

    Inspect values from the environment and input state, without modifying the state.

    Definition Classes
    CommonIRWSTConstructors
  17. def inspectAskF[F[_], E, L, S, A](f: (E, S) ⇒ F[A])(implicit arg0: Applicative[F], arg1: Monoid[L]): ReaderWriterStateT[F, E, L, S, A]

    Like inspectAsk, but using an effectful function.

    Like inspectAsk, but using an effectful function.

    Definition Classes
    CommonIRWSTConstructors
  18. def inspectF[F[_], E, L, S, A](f: (S) ⇒ F[A])(implicit F: Applicative[F], L: Monoid[L]): IndexedReaderWriterStateT[F, E, L, S, S, A]

    Like inspect, but using an effectful function.

    Like inspect, but using an effectful function.

    Definition Classes
    CommonIRWSTConstructors
  19. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  20. def liftF[F[_], E, L, S, A](fa: F[A])(implicit F: Applicative[F], L: Monoid[L]): IndexedReaderWriterStateT[F, E, L, S, S, A]

    Return an effectful a and an empty log without modifying the input state.

    Return an effectful a and an empty log without modifying the input state.

    Definition Classes
    CommonIRWSTConstructors
  21. def liftK[F[_], E, L, S](implicit F: Applicative[F], L: Monoid[L]): ~>[F, [ζ$0$]IndexedReaderWriterStateT[F, E, L, S, S, ζ$0$]]

    Same as liftF, but expressed as a FunctionK for use with mapK

    Same as liftF, but expressed as a FunctionK for use with mapK

    scala> import cats._, data._, implicits._
    scala> val a: OptionT[Eval, Int] = 1.pure[OptionT[Eval, *]]
    scala> val b: OptionT[RWST[Eval, Boolean, List[String], String, *], Int] = a.mapK(RWST.liftK)
    scala> b.value.runEmpty(true).value
    res0: (List[String], String, Option[Int]) = (List(),"",Some(1))
    Definition Classes
    CommonIRWSTConstructors
  22. def listen[F[_], E, L, S, A](rwst: ReaderWriterStateT[F, E, L, S, A])(implicit F: Functor[F]): ReaderWriterStateT[F, E, L, S, (A, L)]
    Definition Classes
    RWSTFunctions
  23. def modify[F[_], E, L, S](f: (S) ⇒ S)(implicit F: Applicative[F], L: Monoid[L]): ReaderWriterStateT[F, E, L, S, Unit]

    Modify the input state using f.

    Modify the input state using f.

    Definition Classes
    RWSTFunctions
  24. def modifyF[F[_], E, L, S](f: (S) ⇒ F[S])(implicit F: Applicative[F], L: Monoid[L]): ReaderWriterStateT[F, E, L, S, Unit]

    Like modify, but using an effectful function.

    Like modify, but using an effectful function.

    Definition Classes
    RWSTFunctions
  25. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  26. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  27. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  28. def pure[F[_], E, L, S, A](a: A)(implicit F: Applicative[F], L: Monoid[L]): IndexedReaderWriterStateT[F, E, L, S, S, A]

    Return a and an empty log without modifying the input state.

    Return a and an empty log without modifying the input state.

    Definition Classes
    CommonIRWSTConstructors
  29. def set[F[_], E, L, S](s: S)(implicit F: Applicative[F], L: Monoid[L]): IndexedReaderWriterStateT[F, E, L, S, S, Unit]

    Set the state to s.

    Set the state to s.

    Definition Classes
    CommonIRWSTConstructors
  30. def setF[F[_], E, L, S](fs: F[S])(implicit F: Applicative[F], L: Monoid[L]): IndexedReaderWriterStateT[F, E, L, S, S, Unit]

    Like set, but using an effectful S value.

    Like set, but using an effectful S value.

    Definition Classes
    CommonIRWSTConstructors
  31. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  32. def tell[F[_], E, L, S](l: L)(implicit F: Applicative[F]): IndexedReaderWriterStateT[F, E, L, S, S, Unit]

    Add a value to the log, without modifying the input state.

    Add a value to the log, without modifying the input state.

    Definition Classes
    CommonIRWSTConstructors
  33. def tellF[F[_], E, L, S](fl: F[L])(implicit F: Applicative[F]): IndexedReaderWriterStateT[F, E, L, S, S, Unit]

    Like tell, but using an effectful L value.

    Like tell, but using an effectful L value.

    Definition Classes
    CommonIRWSTConstructors
  34. def toString(): String
    Definition Classes
    AnyRef → Any
  35. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  37. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated
  2. def lift[F[_], E, L, S, A](fa: F[A])(implicit F: Applicative[F], L: Monoid[L]): IndexedReaderWriterStateT[F, E, L, S, S, A]
    Definition Classes
    CommonIRWSTConstructors
    Annotations
    @deprecated
    Deprecated

    (Since version 1.0.0-RC2) Use liftF instead

Inherited from RWSTFunctions

Inherited from CommonIRWSTConstructors

Inherited from AnyRef

Inherited from Any

Ungrouped