Hoogle Search
Within LTS Haskell 24.2 (ghc-9.10.2)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
state :: forall (m :: Type -> Type) s a . Monad m => (s -> (a, s)) -> StateT s m atransformers Control.Monad.Trans.State.Lazy Construct a state monad computation from a function. (The inverse of runState.)
state :: forall (m :: Type -> Type) s a . Monad m => (s -> (a, s)) -> StateT s m atransformers Control.Monad.Trans.State.Strict Construct a state monad computation from a function. (The inverse of runState.)
state :: MonadState s m => (s -> (a, s)) -> m amtl Control.Monad.State.Class Embed a simple state action into the monad.
state :: MonadState s m => (s -> (a, s)) -> m amtl Control.Monad.State.Lazy Embed a simple state action into the monad.
state :: MonadState s m => (s -> (a, s)) -> m amtl Control.Monad.State.Strict Embed a simple state action into the monad.
state :: MonadState s m => (s -> (a, s)) -> m aadjunctions Control.Monad.Representable.State Embed a simple state action into the monad.
state :: forall w (m :: Type -> Type) s a r . (Monoid w, Monad m) => (s -> (a, s)) -> RWST r w s m adunai Control.Monad.Trans.MSF.RWS Construct a state monad computation from a state transformer function.
state :: forall (m :: Type -> Type) s a . Monad m => (s -> (a, s)) -> StateT s m adunai Control.Monad.Trans.MSF.State Construct a state monad computation from a function. (The inverse of runState.)
state :: forall (m :: Type -> Type) s a . Monad m => (s -> (a, s)) -> StateT s m amonadology Control.Monad.Ology.Specific.StateT Construct a state monad computation from a function. (The inverse of runState.)
state :: MonadRevState s m => (s -> (a, s)) -> m arev-state Control.Monad.RevState.Class No documentation available.