| Portability | portable |
|---|---|
| Stability | stable |
| Maintainer | sven.panne@aedion.de |
| Safe Haskell | Safe-Inferred |
Graphics.Rendering.OpenGL.GL.IOState
Description
This is a purely internal module for an IO monad with a pointer as an additional state, basically a StateT (Ptr s) IO a.
Documentation
Constructors
| IOState | |
Fields
| |
getIOState :: IOState s (Ptr s)Source
peekIOState :: Storable a => IOState a aSource
evalIOState :: IOState s a -> Ptr s -> IO aSource