ReaderWriterStateT
Value members
Inherited methods
Construct a new computation using the provided function.
Construct a new computation using the provided function.
- Inherited from
- RWSTFunctions
Like apply, but using a function in a context F
.
Like apply, but using a function in a context F
.
- Inherited from
- RWSTFunctions
Like apply, but using a effectful function from S
.
Like apply, but using a effectful function from S
.
- Inherited from
- RWSTFunctions
Get the provided environment, without modifying the input state.
Get the provided environment, without modifying the input state.
- Inherited from
- CommonIRWSTConstructors
Return the input state without modifying it.
Return the input state without modifying it.
- Inherited from
- CommonIRWSTConstructors
Inspect a value from the input state, without modifying the state.
Inspect a value from the input state, without modifying the state.
- Inherited from
- CommonIRWSTConstructors
Inspect values from the environment and input state, without modifying the state.
Inspect values from the environment and input state, without modifying the state.
- Inherited from
- CommonIRWSTConstructors
Like inspectAsk, but using an effectful function.
Like inspectAsk, but using an effectful function.
- Inherited from
- CommonIRWSTConstructors
Like inspect, but using an effectful function.
Like inspect, but using an effectful function.
- Inherited from
- CommonIRWSTConstructors
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.
- Inherited from
- CommonIRWSTConstructors
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))
- Inherited from
- CommonIRWSTConstructors
- Inherited from
- RWSTFunctions
Modify the input state using f
.
Modify the input state using f
.
- Inherited from
- RWSTFunctions
Like modify, but using an effectful function.
Like modify, but using an effectful function.
- Inherited from
- RWSTFunctions
Return a
and an empty log without modifying the input state.
Return a
and an empty log without modifying the input state.
- Inherited from
- CommonIRWSTConstructors
Set the state to s
.
Set the state to s
.
- Inherited from
- CommonIRWSTConstructors
Like set, but using an effectful S
value.
Like set, but using an effectful S
value.
- Inherited from
- CommonIRWSTConstructors
Add a value to the log, without modifying the input state.
Add a value to the log, without modifying the input state.
- Inherited from
- CommonIRWSTConstructors
Like tell, but using an effectful L
value.
Like tell, but using an effectful L
value.
- Inherited from
- CommonIRWSTConstructors
Deprecated and Inherited methods
- Deprecated
- Inherited from
- CommonIRWSTConstructors