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. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. 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
  8. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  11. def finalize(): Unit
    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]

    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()
  14. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  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 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
  17. final def isInstanceOf[T0]: Boolean
    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]

    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$]]

    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]

    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]

    Like modify, but using an effectful function.

    Like modify, but using an effectful function.

    Definition Classes
    RWSTFunctions
  22. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  23. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  24. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  25. 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
  26. 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
  27. 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
  28. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  29. 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
  30. 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
  31. def toString(): String
    Definition Classes
    AnyRef → Any
  32. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @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]
    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