hGetLineWith :: ([Text] -> t) -> Handle -> IO t
Read a single line of input from a handle, constructing a list of
decoded chunks as we go. When we're done, transform them into the
destination type.
readChunk :: Handle__ -> CharBuffer -> IO Text
Read a single chunk of strict text from a buffer. Used by both
the strict and lazy implementations of hGetContents.
hPutStream :: Handle -> Stream Char -> IO ()
hPutStr :: Handle -> Text -> IO ()
Write a string to a handle.
hPutStrLn :: Handle -> Text -> IO ()
Write a string to a handle, followed by a newline.
- Maintainer
- bos@serpentine.com
- Portability
- GHC
- Copyright
- (c) 2009, 2010 Bryan O'Sullivan, (c) 2009 Simon Marlow
- License
- BSD-style