ArrayRef-0.1.2: Unboxed references, dynamic arrays and moreSource codeContentsIndex
Control.Monad.STorIO
PortabilityGHC/Hugs
Stabilityexperimental
MaintainerBulat Ziganshin <Bulat.Ziganshin@gmail.com>
Description
Unification of ST and IO operations!
Synopsis
class Monad m => STorIO m s | m -> s where
mLift :: (State# s -> (#State# s, a#)) -> m a
type IOSpecific a = a RealWorld
type IOSpecific2 a = a RealWorld
type IOSpecific3 a = a RealWorld
Documentation
class Monad m => STorIO m s | m -> s whereSource
That's all we need to unify ST and IO operations!
Methods
mLift :: (State# s -> (#State# s, a#)) -> m aSource
show/hide Instances
STorIO IO RealWorld
STorIO (ST s) s
STorIO (ST s) s
type IOSpecific a = a RealWorldSource
Type functions which converts universal ST or IO types to IO-specific ones
type IOSpecific2 a = a RealWorldSource
type IOSpecific3 a = a RealWorldSource
Produced by Haddock version 2.1.0