Copyright | (c) The University of Glasgow 2008 |
---|---|
License | see libraries/base/LICENSE |
Maintainer | ghc-devs@haskell.org |
Stability | internal |
Portability | non-portable (GHC Extensions) |
Safe Haskell | None |
Language | Haskell2010 |
The IOArray type
Synopsis
- newtype IOArray i e = IOArray (STArray RealWorld i e)
- newIOArray :: Ix i => (i, i) -> e -> IO (IOArray i e)
- unsafeReadIOArray :: IOArray i e -> Int -> IO e
- unsafeWriteIOArray :: IOArray i e -> Int -> e -> IO ()
- readIOArray :: Ix i => IOArray i e -> i -> IO e
- writeIOArray :: Ix i => IOArray i e -> i -> e -> IO ()
- boundsIOArray :: IOArray i e -> (i, i)