| Portability | non-portable (uses Control.Monad.ST.Lazy) | 
|---|---|
| Stability | experimental | 
| Maintainer | libraries@haskell.org | 
| Safe Haskell | Safe | 
Data.STRef.Lazy
Contents
Description
Mutable references in the lazy ST monad.
STRefs
data STRef s a
a value of type STRef s a is a mutable variable in state thread s,
 containing a value of type a
writeSTRef :: STRef s a -> a -> ST s ()
modifySTRef :: STRef s a -> (a -> a) -> ST s ()