|
|
|
Description |
This module provides a replacement for the normal (unicode unaware) IO functions of haskell.
By using implicit parameters, it can be used almost as a drop-in replacement.
|
|
Synopsis |
|
getSystemEncoding :: IO DynEncoding | | getContents :: (Encoding e, ?enc :: e) => IO String | | hPutStr :: (Encoding e, ?enc :: e) => Handle -> String -> IO () | | hPutStrLn :: (Encoding e, ?enc :: e) => Handle -> String -> IO () | | hGetContents :: (Encoding e, ?enc :: e) => Handle -> IO String | | readFile :: (Encoding e, ?enc :: e) => FilePath -> IO String | | writeFile :: (Encoding e, ?enc :: e) => FilePath -> String -> IO () | | appendFile :: (Encoding e, ?enc :: e) => FilePath -> String -> IO () | | hGetChar :: (Encoding e, ?enc :: e) => Handle -> IO Char | | hGetLine :: (Encoding e, ?enc :: e) => Handle -> IO String | | hPutChar :: (Encoding e, ?enc :: e) => Handle -> Char -> IO () | | interact :: (Encoding e, ?enc :: e) => (String -> String) -> IO () | | print :: (Encoding e, Show a, ?enc :: e) => a -> IO () |
|
|
Documentation |
|
|
Returns the encoding used on the current system.
|
|
|
|
|
Like the normal System.IO.hPutStr, but encodes the output using an
encoding.
|
|
|
|
|
Like the normal System.IO.hGetContents, but decodes the input using an
encoding.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Produced by Haddock version 2.6.0 |