base-4.19.2.0: Core data structures and operations
Copyright(c) The University of Glasgow 2017
Licensesee libraries/base/LICENSE
Maintainerlibraries@haskell.org
Stabilityinternal
Portabilitynon-portable
Safe HaskellTrustworthy
LanguageHaskell2010

GHC.IO.StdHandles

Description

This model abstracts away the platform specific handles that can be toggled through the RTS.

Documentation

withFile :: FilePath -> IOMode -> (Handle -> IO r) -> IO r Source #