arrow-mtl / arrow.mtl.extensions / arrow.mtl.StateApi

Extensions for arrow.mtl.StateApi

applicative Alias forStateT.Companion.applicativefun <S> StateApi.applicative(): Applicative<StateTPartialOf<ForId, S>>
functor Alias for StateT.Companion.functorfun <S> StateApi.functor(): Functor<StateTPartialOf<ForId, S>>
fx fun <S, A> StateApi.fx(c: suspend MonadSyntax<StatePartialOf<S>>.() -> A): State<S, A>
monad Alias for StateT.Companion.monadfun <S> StateApi.monad(): Monad<StateTPartialOf<ForId, S>>