Hoogle Search
Within LTS Haskell 24.15 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
refRunState :: forall (m :: Type -> Type) s . Monad m => Ref m s -> StateT s m --> mmonadology Control.Monad.Ology.Data.Ref Run a state monad over this reference.
dangerousMVarRunStateT :: MVar s -> Unlift MonadIO (StateT s)monadology Control.Monad.Ology.Specific.StateT Dangerous, because the MVar won't be released on exception.
mVarRunStateT :: MVar s -> Unlift MonadTunnelIO (StateT s)monadology Control.Monad.Ology.Specific.StateT Run the StateT on an MVar, taking the initial state and putting the final state.