Object

cats.data

ReaderWriterStateT

Related Doc: package data

Permalink

object ReaderWriterStateT extends RWSTFunctions with Serializable

Linear Supertypes
Serializable, Serializable, RWSTFunctions, CommonIRWSTConstructors, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ReaderWriterStateT
  2. Serializable
  3. Serializable
  4. RWSTFunctions
  5. CommonIRWSTConstructors
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

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 apply[F[_], E, L, S, A](runF: (E, S) ⇒ F[(L, S, A)])(implicit F: Applicative[F]): ReaderWriterStateT[F, E, L, S, A]

    Permalink

    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]

    Permalink

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

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

    Definition Classes
    RWSTFunctions
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def ask[F[_], E, L, S](implicit F: Applicative[F], L: Monoid[L]): IndexedReaderWriterStateT[F, E, L, S, S, E]

    Permalink

    Get the provided environment, without modifying the input state.

    Get the provided environment, without modifying the input state.

    Definition Classes
    CommonIRWSTConstructors
  8. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  11. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. def get[F[_], E, L, S](implicit F: Applicative[F], L: Monoid[L]): IndexedReaderWriterStateT[F, E, L, S, S, S]

    Permalink

    Return the input state without modifying it.

    Return the input state without modifying it.

    Definition Classes
    CommonIRWSTConstructors
  13. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  14. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  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]

    Permalink

    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 inspectF[F[_], E, L, S, A](f: (S) ⇒ F[A])(implicit F: Applicative[F], L: Monoid[L]): IndexedReaderWriterStateT[F, E, L, S, S, A]

    Permalink

    Like inspect, but using an effectful function.

    Like inspect, but using an effectful function.

    Definition Classes
    CommonIRWSTConstructors
  17. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  18. def liftF[F[_], E, L, S, A](fa: F[A])(implicit F: Applicative[F], L: Monoid[L]): IndexedReaderWriterStateT[F, E, L, S, S, A]

    Permalink

    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
  19. def liftK[F[_], E, L, S](implicit F: Applicative[F], L: Monoid[L]): ~>[F, [ζ$0$]IndexedReaderWriterStateT[F, E, L, S, S, ζ$0$]]

    Permalink

    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
  20. def modify[F[_], E, L, S](f: (S) ⇒ S)(implicit F: Applicative[F], L: Monoid[L]): ReaderWriterStateT[F, E, L, S, Unit]

    Permalink

    Modify the input state using f.

    Modify the input state using f.

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

    Permalink

    Like modify, but using an effectful function.

    Like modify, but using an effectful function.

    Definition Classes
    RWSTFunctions
  22. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  23. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  25. def pure[F[_], E, L, S, A](a: A)(implicit F: Applicative[F], L: Monoid[L]): IndexedReaderWriterStateT[F, E, L, S, S, A]

    Permalink

    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
  26. def set[F[_], E, L, S](s: S)(implicit F: Applicative[F], L: Monoid[L]): IndexedReaderWriterStateT[F, E, L, S, S, Unit]

    Permalink

    Set the state to s.

    Set the state to s.

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

    Permalink

    Like set, but using an effectful S value.

    Like set, but using an effectful S value.

    Definition Classes
    CommonIRWSTConstructors
  28. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  29. def tell[F[_], E, L, S](l: L)(implicit F: Applicative[F]): IndexedReaderWriterStateT[F, E, L, S, S, Unit]

    Permalink

    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
  30. def tellF[F[_], E, L, S](fl: F[L])(implicit F: Applicative[F]): IndexedReaderWriterStateT[F, E, L, S, S, Unit]

    Permalink

    Like tell, but using an effectful L value.

    Like tell, but using an effectful L value.

    Definition Classes
    CommonIRWSTConstructors
  31. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  32. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def lift[F[_], E, L, S, A](fa: F[A])(implicit F: Applicative[F], L: Monoid[L]): IndexedReaderWriterStateT[F, E, L, S, S, A]

    Permalink
    Definition Classes
    CommonIRWSTConstructors
    Annotations
    @deprecated
    Deprecated

    (Since version 1.0.0-RC2) Use liftF instead

Inherited from Serializable

Inherited from Serializable

Inherited from RWSTFunctions

Inherited from CommonIRWSTConstructors

Inherited from AnyRef

Inherited from Any

Ungrouped