Hoogle Search
Within LTS Haskell 24.9 (ghc-9.10.2)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
hGetContentsSync :: Storable a => ChunkSize -> Handle -> IO (Vector a)storablevector Data.StorableVector.Lazy No documentation available.
hGetContentsAsync :: (Size size, Storable a) => Handle -> IO (IOError, Vector size a)storablevector Data.StorableVector.Lazy.Typed No documentation available.
hGetContentsSync :: (Size size, Storable a) => Handle -> IO (Vector size a)storablevector Data.StorableVector.Lazy.Typed No documentation available.
hGetContents :: Handle -> IO Textpandoc Text.Pandoc.UTF8 No documentation available.
hGetContents :: Handle -> IO Chunksbyteslice Data.Bytes.Chunks Read a handle's entire contents strictly into chunks.
hGetContents :: Handle -> IO Stringghc-internal GHC.Internal.IO.Handle Computation hGetContents hdl returns the list of characters corresponding to the unread portion of the channel or file managed by hdl, which is put into an intermediate state, semi-closed. In this state, hdl is effectively closed, but items are read from hdl on demand and accumulated in a special list returned by hGetContents hdl. Any operation that fails because a handle is closed, also fails if a handle is semi-closed. The only exception is hClose. A semi-closed handle becomes closed:
- if hClose is applied to it;
- if an I/O error occurs when reading an item from the handle;
- or once the entire contents of the handle has been read.
- isEOFError if the end of file has been reached.
hGetContents' :: Handle -> IO Stringghc-internal GHC.Internal.IO.Handle The hGetContents' operation reads all input on the given handle before returning it as a String and closing the handle.
hGetContents :: Handle -> IO Stringghc-internal GHC.Internal.IO.Handle.Text Computation hGetContents hdl returns the list of characters corresponding to the unread portion of the channel or file managed by hdl, which is put into an intermediate state, semi-closed. In this state, hdl is effectively closed, but items are read from hdl on demand and accumulated in a special list returned by hGetContents hdl. Any operation that fails because a handle is closed, also fails if a handle is semi-closed. The only exception is hClose. A semi-closed handle becomes closed:
- if hClose is applied to it;
- if an I/O error occurs when reading an item from the handle;
- or once the entire contents of the handle has been read.
- isEOFError if the end of file has been reached.
hGetContents' :: Handle -> IO Stringghc-internal GHC.Internal.IO.Handle.Text The hGetContents' operation reads all input on the given handle before returning it as a String and closing the handle.
hGetContents :: Handle -> IO Stringghc-internal GHC.Internal.System.IO Computation hGetContents hdl returns the list of characters corresponding to the unread portion of the channel or file managed by hdl, which is put into an intermediate state, semi-closed. In this state, hdl is effectively closed, but items are read from hdl on demand and accumulated in a special list returned by hGetContents hdl. Any operation that fails because a handle is closed, also fails if a handle is semi-closed. The only exception is hClose. A semi-closed handle becomes closed:
- if hClose is applied to it;
- if an I/O error occurs when reading an item from the handle;
- or once the entire contents of the handle has been read.
- isEOFError if the end of file has been reached.