ArrayRef-0.1: Unboxed references, dynamic arrays and moreSource codeContentsIndex
Data.Ref.LazyST
PortabilityGHC/Hugs
Stabilityexperimental
MaintainerBulat Ziganshin <Bulat.Ziganshin@gmail.com>
Contents
STRefs
STURefs
Description
Mutable boxed and unboxed references in the lazy ST monad.
Synopsis
STRef (STRef)
newSTRef
readSTRef
writeSTRef
modifySTRef
data STURef s a
newSTURef :: Unboxed a => a -> ST s (STURef s a)
readSTURef :: Unboxed a => STURef s a -> ST s a
writeSTURef :: Unboxed a => STURef s a -> a -> ST s ()
modifySTURef :: Unboxed a => STURef s a -> (a -> a) -> ST s ()
STRefs
STRef (STRef)
newSTRef
readSTRef
writeSTRef
modifySTRef
STURefs
data STURef s a Source
Unboxed references in ST monad
show/hide Instances
newSTURef :: Unboxed a => a -> ST s (STURef s a)Source
readSTURef :: Unboxed a => STURef s a -> ST s aSource
writeSTURef :: Unboxed a => STURef s a -> a -> ST s ()Source
modifySTURef :: Unboxed a => STURef s a -> (a -> a) -> ST s ()Source
Produced by Haddock version 2.4.2