monad-ran-0.0.5: Implementations of common monads and monad transformers as right-kan extensions
Source code
Contents
Index
Control.Monad.Ran.State
Documentation
data
State
s a
Source
Instances
MonadState
s (
State
s)
Monad
(
State
s)
Functor
(
State
s)
Applicative
(
State
s)
runState
::
State
s a -> s -> (a, s)
Source
data
State'
s a
Source
Instances
MonadState
s (
State'
s)
Monad
(
State'
s)
Functor
(
State'
s)
Applicative
(
State'
s)
runState'
::
State'
s a -> s -> (a, s)
Source
Produced by
Haddock
version 2.3.0