explicit-iomodes-text-0.1.0.2: Extends explicit-iomodes with Text operations

MaintainerBas van Dijk <v.dijk.bas@gmail.com>

Data.Text.IO.ExplicitIOModes

Description

This module lifts the Text IO operations to handles with explicit IOModes.

Synopsis

Documentation

hGetLine :: ReadModes ioMode => Handle ioMode -> IO TextSource

Wraps Data.Text.IO.hGetLine.

hGetContents :: ReadModes ioMode => Handle ioMode -> IO TextSource

Wraps Data.Text.IO.hGetContents.

hPutStr :: WriteModes ioMode => Handle ioMode -> Text -> IO ()Source

Wraps Data.Text.IO.hPutStr.

hPutStrLn :: WriteModes ioMode => Handle ioMode -> Text -> IO ()Source

Wraps Data.Text.IO.hPutStrLn.