base-4.17.0.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 abstracts away the platform specific handles that can be toggled through the RTS.

Documentation

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