Copyright | (c) Dong Han 2017~2019 |
---|---|
License | BSD-style |
Maintainer | winterland1989@gmail.com |
Stability | experimental |
Portability | portable |
Safe Haskell | None |
Language | Haskell2010 |
Synopsis
- newtype PrimSTRef s a = PrimSTRef (MutableByteArray s)
- newPrimSTRef :: Prim a => a -> ST s (PrimSTRef s a)
- readPrimSTRef :: Prim a => PrimSTRef s a -> ST s a
- writePrimSTRef :: Prim a => PrimSTRef s a -> a -> ST s ()
- modifyPrimSTRef :: Prim a => PrimSTRef s a -> (a -> a) -> ST s ()