papa-0.7.0: src/Papa/Unsafe/IO.hs
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -Wall #-}
-- | "System.IO", whose functions throw their 'System.IO.IOError's, and read
-- and write 'Data.String.String's in the locale's encoding; some
-- (@readFile@, @getContents@, @interact@, @hGetContents@) read lazily, so
-- that their handle may be closed, or fail, after the action has returned.
--
-- > import qualified Papa.Unsafe.IO as U
--
-- Import it qualified: "Papa" has functions of the same names (@openFile@,
-- @putStrLn@, @readFile@, …) that return their exceptions in
-- 'Papa.Base.System.IO.Except.IOExcept', so this module does not combine
-- with @import Papa@, and "Papa.Unsafe" does not re-export it.
--
-- @since 0.7.0
module Papa.Unsafe.IO (
module System.IO,
) where
import System.IO