Hoogle Search
Within LTS Haskell 22.19 (ghc-9.6.4)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
hGetContents :: Handle -> IO Texttext Data.Text.IO Read the remaining contents of a Handle as a string. The Handle is closed once the contents have been read, or if an exception is thrown. Internally, this function reads a chunk at a time from the lower-level buffering abstraction, and concatenates the chunks into a single string once the entire file has been read. As a result, it requires approximately twice as much memory as its result to construct its result. For files more than a half of available RAM in size, this may result in memory exhaustion.
hGetChunk :: Handle -> IO Texttext Data.Text.IO Experimental. Read a single chunk of strict text from a Handle. The size of the chunk depends on the amount of input currently buffered. This function blocks only if there is no data available, and EOF has not yet been reached. Once EOF is reached, this function returns an empty string instead of throwing an exception.
-
text Data.Text.IO Read a single line from a handle.
hGetContents :: Handle -> IO Texttext Data.Text.Lazy.IO Lazily read the remaining contents of a Handle. The Handle will be closed after the read completes, or on error.
-
text Data.Text.Lazy.IO Read a single line from a handle.
hGetContents :: Handle -> IO Textpandoc Text.Pandoc.UTF8 No documentation available.
hGetStrict :: Handle -> IO Textgraphviz Data.GraphViz.Commands.IO Strictly read in a Text value using an appropriate encoding.
readHandlePortably :: Handle -> IO Texthledger-lib Hledger.Utils.IO No documentation available.
readHandlePortably :: Handle -> IO Texthledger Hledger.Cli.Script No documentation available.
hGetIODataContents :: KnownIODataMode mode => Handle -> IO modeCabal Distribution.Simple.Utils IOData Wrapper for hGetContents Note: This operation uses lazy I/O. Use NFData to force all data to be read and consequently the internal file handle to be closed.
Page 1 of many | Next