o

cats.data

StateT

object StateT extends StateTFunctions with CommonStateTConstructors0

Source
package.scala
Linear Supertypes
CommonStateTConstructors0, StateTFunctions, CommonStateTConstructors, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. StateT
  2. CommonStateTConstructors0
  3. StateTFunctions
  4. CommonStateTConstructors
  5. AnyRef
  6. 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[_], S, A](f: (S) ⇒ F[(S, A)])(implicit F: Applicative[F]): StateT[F, S, A]
    Definition Classes
    StateTFunctions
  5. def applyF[F[_], S, A](runF: F[(S) ⇒ F[(S, A)]]): StateT[F, S, A]
    Definition Classes
    StateTFunctions
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  8. def empty[F[_], S, A](implicit A: Monoid[A], F: Applicative[F]): IndexedStateT[F, S, S, A]
    Definition Classes
    CommonStateTConstructors0
  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[_], S](implicit F: Applicative[F]): IndexedStateT[F, S, S, S]
    Definition Classes
    CommonStateTConstructors
  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[_], S, A](f: (S) ⇒ A)(implicit F: Applicative[F]): IndexedStateT[F, S, S, A]
    Definition Classes
    CommonStateTConstructors
  16. def inspectF[F[_], S, A](f: (S) ⇒ F[A])(implicit F: Applicative[F]): IndexedStateT[F, S, S, A]
    Definition Classes
    CommonStateTConstructors
  17. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  18. def liftF[F[_], S, A](fa: F[A])(implicit F: Applicative[F]): IndexedStateT[F, S, S, A]
    Definition Classes
    CommonStateTConstructors
  19. def liftK[F[_], S](implicit F: Applicative[F]): ~>[F, [δ$0$]IndexedStateT[F, 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[StateT[Eval, String, ?], Int] = a.mapK(StateT.liftK)
    scala> b.value.runEmpty.value
    res0: (String, Option[Int]) = ("",Some(1))
    Definition Classes
    CommonStateTConstructors
  20. def modify[F[_], S](f: (S) ⇒ S)(implicit F: Applicative[F]): StateT[F, S, Unit]
    Definition Classes
    StateTFunctions
  21. def modifyF[F[_], S](f: (S) ⇒ F[S])(implicit F: Applicative[F]): StateT[F, S, Unit]
    Definition Classes
    StateTFunctions
  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[_], S, A](a: A)(implicit F: Applicative[F]): IndexedStateT[F, S, S, A]
    Definition Classes
    CommonStateTConstructors
  26. def set[F[_], S](s: S)(implicit F: Applicative[F]): StateT[F, S, Unit]
    Definition Classes
    StateTFunctions
  27. def setF[F[_], S](fs: F[S])(implicit F: Applicative[F]): StateT[F, S, Unit]
    Definition Classes
    StateTFunctions
  28. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  29. def toString(): String
    Definition Classes
    AnyRef → Any
  30. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )

Deprecated Value Members

  1. def lift[F[_], S, A](fa: F[A])(implicit F: Applicative[F]): IndexedStateT[F, S, S, A]
    Definition Classes
    CommonStateTConstructors
    Annotations
    @deprecated
    Deprecated

    (Since version 1.0.0-RC2) Use liftF instead

Inherited from CommonStateTConstructors0

Inherited from StateTFunctions

Inherited from CommonStateTConstructors

Inherited from AnyRef

Inherited from Any

Ungrouped