base-4.20.0.1: Core data structures and operations
Copyright(c) The University of Glasgow 2017
Licensesee libraries/base/LICENSE
Maintainerlibraries@haskell.org
Stabilityinternal
Portabilitynon-portable
Safe HaskellSafe
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 #