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

inspect

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