Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
data MultiSTRef s a where Source
MultiSTRef :: STRef s x -> ATraversal' x a -> MultiSTRef s a |
loosenSTRef :: STRef s a -> MultiSTRef s a Source
makeMultiSTRef :: ATraversal' x a -> STRef s x -> MultiSTRef s a Source
zoomMultiSTRef :: ATraversal' a b -> MultiSTRef s a -> MultiSTRef s b Source
newMultiSTRef :: a -> ST s (MultiSTRef s a) Source
readMultiSTRef :: Monoid a => MultiSTRef s a -> ST s a Source
readMultiSTRefList :: MultiSTRef s a -> ST s [a] Source
readMultiSTRefHead :: MultiSTRef s a -> ST s (Maybe a) Source
modifyMultiSTRef :: MultiSTRef s a -> (a -> a) -> ST s () Source
writeMultiSTRef :: MultiSTRef s a -> a -> ST s () Source