zoom-refs-0.0.0.1: Zoom (~ Functor) and pairing (~ Applicative) for mutable references.

Safe HaskellNone
LanguageHaskell2010

Data.MultiSTRef.Lazy

Documentation

data MultiSTRef s a where Source

Constructors

MultiSTRef :: STRef s x -> ATraversal' x a -> MultiSTRef s a 

modifyMultiSTRef :: MultiSTRef s a -> (a -> a) -> ST s () Source

writeMultiSTRef :: MultiSTRef s a -> a -> ST s () Source