Maintainer | Bas van Dijk <v.dijk.bas@gmail.com> |
---|
Unsafe functions for retrieving the native Handle
from a regional file
handle and for lifting operations on Handles
to RegionalFileHandles
.
These operations are unsafe because they allow you to close regional file
handles before exiting their region. So they enable you to perform IO
with
already closed handles.
Documentation
unsafeHandle :: RegionalFileHandle ioMode r -> Handle ioModeSource
wrap3 :: MonadIO m => (Handle ioMode -> γ -> β -> IO α) -> RegionalFileHandle ioMode r -> γ -> β -> m αSource
sanitizeIOError :: IO α -> IO αSource