Packages

  • package root
    Definition Classes
    root
  • package cats

    The cats root package contains all the trait signatures of most Scala type classes.

    The cats root package contains all the trait signatures of most Scala type classes.

    Cats type classes are implemented using the approach from the Type classes as objects and implicits article.

    For each type class, cats provides three pieces: - Its signature: a trait that is polymorphic on a type parameter. Type class traits inherit from other type classes to indicate that any implementation of the lower type class (e.g. Applicative) can also serve as an instance for the higuer type class (e.g. Functor). - Type class 'instances, which are classes and objects that implement one or more type class signatures for some specific types. Type class instances for several data types from the Java or Scala standard libraries are declared in the subpackage cats.instances. - Syntax extensions, each of which provides the methods of the type class defines as extension methods (which in Scala 2 are encoded as implicit classes) for values of any type F; given that an instance of the type class for the receiver type (this) is in the implicit scope. Symtax extensions are declared in the cats.syntax package. - A set of laws, that are also generic on the type of the class, and are only defined on the operations of the type class. The purpose of these laws is to declare some algebraic relations (equations) between Scala expressions involving the operations of the type class, and test (but not verify) that implemented instances satisfy those equations. Laws are defined in the cats-laws package.

    Although most of cats type classes are declared in this package, some are declared in other packages: - type classes that operate on base types (kind *), and their implementations for standard library types, are contained in cats.kernel, which is a different SBT project. However, they are re-exported from this package. - type classes of kind F[_, _], such as cats.arrow.Profunctor" or cats.arrow.Arrow, which are relevant for Functional Reactive Programming or optics, are declared in the cats.arrow package. - Also, those type classes that abstract over (pure or impure) functional runtime effects are declared in the cats-effect library. - Some type classes for which no laws can be provided are left out of the main road, in a small and dirty alley. These are the alleycats.

    Definition Classes
    root
  • package data
    Definition Classes
    cats
  • AndThen
  • AppFunc
  • Binested
  • BinestedBifoldable
  • BinestedBitraverse
  • BinestedInstances
  • Chain
  • Cokleisli
  • Const
  • Cont
  • ContT
  • EitherK
  • EitherT
  • Func
  • IdT
  • IndexedReaderWriterStateT
  • IndexedState
  • IndexedStateT
  • Ior
  • IorT
  • Kleisli
  • Nested
  • NonEmptyChainOps
  • NonEmptyList
  • NonEmptyMapOps
  • NonEmptySetOps
  • NonEmptyVector
  • OneAnd
  • Op
  • OptionT
  • Reader
  • ReaderWriterState
  • ReaderWriterStateT
  • RepresentableStore
  • State
  • StateT
  • Store
  • Tuple2K
  • Validated
  • Writer
  • WriterT
  • ZipList
  • ZipStream
  • ZipVector

object IndexedReaderWriterStateT extends IRWSTInstances with CommonIRWSTConstructors with Serializable

Linear Supertypes
Serializable, Serializable, CommonIRWSTConstructors, IRWSTInstances, IRWSTInstances1, IRWSTInstances2, IRWSTInstances3, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. IndexedReaderWriterStateT
  2. Serializable
  3. Serializable
  4. CommonIRWSTConstructors
  5. IRWSTInstances
  6. IRWSTInstances1
  7. IRWSTInstances2
  8. IRWSTInstances3
  9. AnyRef
  10. 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, SA, SB, A](runF: (E, SA) ⇒ F[(L, SB, A)])(implicit F: Applicative[F]): IndexedReaderWriterStateT[F, E, L, SA, SB, A]

    Construct a new computation using the provided function.

  5. def applyF[F[_], E, L, SA, SB, A](runF: F[(E, SA) ⇒ F[(L, SB, A)]]): IndexedReaderWriterStateT[F, E, L, SA, SB, A]

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

  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. implicit def catsDataAlternativeForIRWST[F[_], E, L, S](implicit FM: Monad[F], FA: Alternative[F], L0: Monoid[L]): Alternative[[ζ$13$]IndexedReaderWriterStateT[F, E, L, S, S, ζ$13$]]
    Definition Classes
    IRWSTInstances2
  9. implicit def catsDataBifunctorForIRWST[F[_], E, L, SA](implicit F0: Functor[F]): Bifunctor[[ε$4$, ζ$5$]IndexedReaderWriterStateT[F, E, L, SA, ε$4$, ζ$5$]]
    Definition Classes
    IRWSTInstances
  10. implicit def catsDataContravariantForIRWST[F[_], E, L, SB, T](implicit F0: Functor[F]): Contravariant[[δ$6$]IndexedReaderWriterStateT[F, E, L, δ$6$, SB, T]]
    Definition Classes
    IRWSTInstances
  11. implicit def catsDataDeferForIRWST[F[_], E, L, SA, SB](implicit F: Defer[F]): Defer[[ζ$8$]IndexedReaderWriterStateT[F, E, L, SA, SB, ζ$8$]]
    Definition Classes
    IRWSTInstances
  12. implicit def catsDataFunctorForIRWST[F[_], E, L, SA, SB](implicit F0: Functor[F]): Functor[[ζ$15$]IndexedReaderWriterStateT[F, E, L, SA, SB, ζ$15$]]
    Definition Classes
    IRWSTInstances3
  13. implicit def catsDataMonadErrorForIRWST[F[_], E, L, S, R](implicit F0: MonadError[F, R], L0: Monoid[L]): MonadError[[ζ$7$]IndexedReaderWriterStateT[F, E, L, S, S, ζ$7$], R]
    Definition Classes
    IRWSTInstances
  14. implicit def catsDataMonadForRWST[F[_], E, L, S](implicit F0: Monad[F], L0: Monoid[L]): Monad[[ε$10$]IndexedReaderWriterStateT[F, E, L, S, S, ε$10$]]
    Definition Classes
    IRWSTInstances1
  15. implicit def catsDataProfunctorForIRWST[F[_], E, L, T](implicit F0: Functor[F]): Profunctor[[δ$11$, ε$12$]IndexedReaderWriterStateT[F, E, L, δ$11$, ε$12$, T]]
    Definition Classes
    IRWSTInstances1
  16. implicit def catsDataSemigroupKForIRWST[F[_], E, L, SA, SB](implicit F0: Monad[F], G0: SemigroupK[F]): SemigroupK[[ζ$14$]IndexedReaderWriterStateT[F, E, L, SA, SB, ζ$14$]]
    Definition Classes
    IRWSTInstances3
  17. implicit def catsDataStrongForIRWST[F[_], E, L, T](implicit F0: Monad[F]): Strong[[δ$2$, ε$3$]IndexedReaderWriterStateT[F, E, L, δ$2$, ε$3$, T]]
    Definition Classes
    IRWSTInstances
  18. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  19. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  21. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  22. 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
  23. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  24. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  25. 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
  26. 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
  27. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  28. 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
  29. 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
  30. def modify[F[_], E, L, SA, SB](f: (SA) ⇒ SB)(implicit F: Applicative[F], L: Monoid[L]): IndexedReaderWriterStateT[F, E, L, SA, SB, Unit]

    Modify the input state using f.

  31. def modifyF[F[_], E, L, SA, SB](f: (SA) ⇒ F[SB])(implicit F: Applicative[F], L: Monoid[L]): IndexedReaderWriterStateT[F, E, L, SA, SB, Unit]

    Like modify, but using an effectful function.

  32. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  33. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  34. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  35. 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
  36. 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
  37. 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
  38. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  39. 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
  40. 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
  41. def toString(): String
    Definition Classes
    AnyRef → Any
  42. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  43. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  44. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

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 Serializable

Inherited from Serializable

Inherited from CommonIRWSTConstructors

Inherited from IRWSTInstances

Inherited from IRWSTInstances1

Inherited from IRWSTInstances2

Inherited from IRWSTInstances3

Inherited from AnyRef

Inherited from Any

Ungrouped