reader

Retrieves a function of the current environment.
Constructor for computations in the reader monad (equivalent to asks).
Constructor for computations in the reader monad (equivalent to asks).
Constructor for computations in the reader monad (equivalent to asks).
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.
Parse an IPv4 address using a Reader.
>>> IPv4.reader "192.168.2.47"
Right (ipv4 192 168 2 47,"")
>>> IPv4.reader "192.168.2.470"
Left "All octets in an IPv4 address must be between 0 and 255"
Unfold standard input into a stream of Word8.
Unfold an array into a stream.
Unfold an array into a stream.
Unfold an array into a stream.
Unfolds a file handle into a byte stream. IO requests to the device are performed in sizes of defaultChunkSize.
>>> reader = Unfold.many Array.reader Handle.chunkReader
Unfolds a file path into a byte stream. IO requests to the device are performed in sizes of defaultChunkSize. Pre-release
Request the environment value using a transformation function.
Unfold a strict ByteString to a stream of Word8.
Unfold a lazy ByteString to a stream of Word8
Constructor for computations in the reader monad (equivalent to asks).
Constructor for computations in the reader monad (equivalent to asks).
Declare how to parse an argument, option, or environment variable.
reader @tag act lifts a purely environment-dependent action act to a monadic action in an arbitrary monad m with capability HasReader. It happens to coincide with asks: reader = asks.
Retrieves a function of the part of the current environment. This is Control.Monad.Reader's reader with the type adjusted for better compatibility with Has.