liblawless-0.16.1: Prelude based on protolude for GHC 8 and beyond.

Copyright© 2016 All rights reserved.
LicenseGPL-3
MaintainerEvan Cofsky <>
Stabilityexperimental
PortabilityPOSIX
Safe HaskellNone
LanguageHaskell2010

Text.IO

Description

 

Synopsis

Documentation

readFile :: AbsRel ar => FilePath ar -> IO Text Source #

writeFile :: AbsRel ar => FilePath ar -> Text -> IO () Source #

appendFile :: AbsRel ar => FilePath ar -> Text -> IO () Source #

hGetLine :: Handle -> IO Text #

Read a single line from a handle.

hPutStr :: Handle -> Text -> IO () #

Write a string to a handle.

hPutStrLn :: Handle -> Text -> IO () #

Write a string to a handle, followed by a newline.

getLine :: IO Text #

Read a single line of user input from stdin.

putStr :: Text -> IO () #

Write a string to stdout.

putStrLn :: Text -> IO () #

Write a string to stdout, followed by a newline.