base-4.17.1.0: Basic libraries
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 abtracts away the platform specific handles that can be toggled through the RTS.

Documentation

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