Copyright | (c) 2019 L.S.Leary |
---|---|
License | BSD3 |
Safe Haskell | None |
Language | Haskell2010 |
A drop-in replacement for Data.STRef, extending its interface with Ord
.
Uses ST
from Control.Monad.UST.
Documentation
writeSTRef :: STRef s a -> a -> ST s () Source #
modifySTRef :: STRef s a -> (a -> a) -> ST s () Source #
modifySTRef' :: STRef s a -> (a -> a) -> ST s () Source #