arrow-mtl / arrow.mtl.extensions / StateTMonadState

StateTMonadState

@extension interface StateTMonadState<S, F> : MonadState<StateTPartialOf<S, F>, S>, StateTMonad<S, F>

Functions

get open fun get(): StateT<S, F, S>
MF abstract fun MF(): Monad<F>
set open fun set(s: S): StateT<S, F, Unit>

Do you like Arrow?

Arrow Org
<