| Copyright | (c) 2019 Edward Kmett |
|---|---|
| License | BSD-2-Clause OR Apache-2.0 |
| Maintainer | Edward Kmett <ekmett@gmail.com> |
| Stability | experimental |
| Portability | non-portable |
| Safe Haskell | Trustworthy |
| Language | Haskell2010 |
Data.Const.IORef
Description
Documentation
data ConstIORef a Source #
Instances
| Eq (ConstIORef a) Source # | |
Defined in Data.Const.Unsafe | |
| Constable ConstIORef IORef Source # | |
Defined in Data.Const.Unsafe | |
| Constable ConstIORef ConstIORef Source # | |
Defined in Data.Const.Unsafe | |
constIORef :: AnIORef p => p a -> ConstIORef a Source #
type AnIORef = Constable ConstIORef Source #
readAnIORef :: forall p a. AnIORef p => p a -> IO a Source #