reader package:streamly

Retrieves a function of the current environment.
Read a stream from the supplied IPv4 host address and port number.
Unfolds a Socket into a byte stream. IO requests to the socket are performed in sizes of defaultChunkSize.
Unfolds the tuple (bufsize, socket) into a byte stream, read requests to the socket are performed using buffers of bufsize.
See examples in Control.Monad.Reader. Note, the partially applied function type (->) r is a simple reader monad. See the instance declaration below.
Evaluate the inner monad of a stream as ReaderT.
Run a stream transformation using a given environment. See also: map Internal
Unfolds a socket into a stream of Word8 arrays. Requests to the socket are performed using a buffer of size defaultChunkSize. The size of arrays in the resulting stream are therefore less than or equal to defaultChunkSize.
Unfold the tuple (bufsize, socket) into a stream of Word8 arrays. Read requests to the socket are performed using a buffer of size bufsize. The size of an array in the resulting stream is always less than or equal to bufsize.