arrow-mtl / arrow.mtl.extensions.statet.monadState / state

state

@JvmName("state") fun <F, S, A> state(MF: Monad<F>, f: (S) -> Tuple2<S, A>): StateT<F, S, A>