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

Package arrow.mtl.extensions.statet.monadState

Extensions for External Classes

arrow.mtl.StateT  

Functions

inspect fun <F, S, A> inspect(MF: Monad<F>, arg0: (S) -> A): StateT<F, S, A>
modify fun <F, S> modify(MF: Monad<F>, arg0: (S) -> S): StateT<F, S, Unit>
state fun <F, S, A> state(MF: Monad<F>, arg0: (S) -> Tuple2<S, A>): StateT<F, S, A>