Hoogle Search
Within LTS Haskell 22.21 (ghc-9.6.5)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
-
base Prelude The getContents operation returns all user input as a single string, which is read lazily as it is needed (same as hGetContents stdin).
-
base System.IO The getContents operation returns all user input as a single string, which is read lazily as it is needed (same as hGetContents stdin).
-
bytestring Data.ByteString getContents. Read stdin strictly. Equivalent to hGetContents stdin The Handle is closed after the contents have been read.
-
bytestring Data.ByteString.Char8 getContents. Read stdin strictly. Equivalent to hGetContents stdin The Handle is closed after the contents have been read.
-
bytestring Data.ByteString.Lazy getContents. Equivalent to hGetContents stdin. Will read lazily
-
bytestring Data.ByteString.Lazy.Char8 getContents. Equivalent to hGetContents stdin. Will read lazily
-
text Data.Text.IO Read all user input on stdin as a single string.
-
text Data.Text.Lazy.IO Lazily read all user input on stdin as a single string.
-
amazonka-core Amazonka.Prelude The getContents operation returns all user input as a single string, which is read lazily as it is needed (same as hGetContents stdin).
getContents :: Socket -> IO ByteStringnetwork Network.Socket.ByteString.Lazy Receive data from the socket. The socket must be in a connected state. Data is received on demand, in chunks; each chunk will be sized to reflect the amount of data received by individual recv calls. All remaining data from the socket is consumed. When there is no more data to be received, the receiving side of the socket is shut down. If there is an error and an exception is thrown, the socket is not shut down.
Page 1 of many | Next