object StateT extends StateTFunctions with CommonStateTConstructors0
- Alphabetic
- By Inheritance
- StateT
- CommonStateTConstructors0
- StateTFunctions
- CommonStateTConstructors
- 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
-
def
apply[F[_], S, A](f: (S) ⇒ F[(S, A)])(implicit F: Applicative[F]): StateT[F, S, A]
- Definition Classes
- StateTFunctions
-
def
applyF[F[_], S, A](runF: F[(S) ⇒ F[(S, A)]]): StateT[F, S, A]
- Definition Classes
- StateTFunctions
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
empty[F[_], S, A](implicit A: Monoid[A], F: Applicative[F]): IndexedStateT[F, S, S, A]
- Definition Classes
- CommonStateTConstructors0
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
get[F[_], S](implicit F: Applicative[F]): IndexedStateT[F, S, S, S]
- Definition Classes
- CommonStateTConstructors
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
inspect[F[_], S, A](f: (S) ⇒ A)(implicit F: Applicative[F]): IndexedStateT[F, S, S, A]
- Definition Classes
- CommonStateTConstructors
-
def
inspectF[F[_], S, A](f: (S) ⇒ F[A])(implicit F: Applicative[F]): IndexedStateT[F, S, S, A]
- Definition Classes
- CommonStateTConstructors
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
liftF[F[_], S, A](fa: F[A])(implicit F: Applicative[F]): IndexedStateT[F, S, S, A]
- Definition Classes
- CommonStateTConstructors
-
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
-
def
modify[F[_], S](f: (S) ⇒ S)(implicit F: Applicative[F]): StateT[F, S, Unit]
- Definition Classes
- StateTFunctions
-
def
modifyF[F[_], S](f: (S) ⇒ F[S])(implicit F: Applicative[F]): StateT[F, S, Unit]
- Definition Classes
- StateTFunctions
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
pure[F[_], S, A](a: A)(implicit F: Applicative[F]): IndexedStateT[F, S, S, A]
- Definition Classes
- CommonStateTConstructors
-
def
set[F[_], S](s: S)(implicit F: Applicative[F]): StateT[F, S, Unit]
- Definition Classes
- StateTFunctions
-
def
setF[F[_], S](fs: F[S])(implicit F: Applicative[F]): StateT[F, S, Unit]
- Definition Classes
- StateTFunctions
-
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( ... ) @native()
Deprecated Value Members
-
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