unliftio-streams-0.2.0.0: Generalization of io-streams to MonadUnliftIO
Safe HaskellSafe-Inferred
LanguageHaskell2010

UnliftIO.Streams.Internal

Synopsis

Documentation

data InputStream a #

An InputStream generates values of type c in the IO monad.

Two primitive operations are defined on InputStream:

It is intended that InputStreams obey the following law:

unRead c stream >> read stream === return (Just c)

Constructors

InputStream 

Fields

Instances

Instances details
BufferedIO (InputStream ByteString) 
Instance details

Defined in System.IO.Streams.Internal

BufferedIO (StreamPair ByteString) 
Instance details

Defined in System.IO.Streams.Internal

IODevice (InputStream ByteString) 
Instance details

Defined in System.IO.Streams.Internal

IODevice (StreamPair ByteString) 
Instance details

Defined in System.IO.Streams.Internal

RawIO (InputStream ByteString)

The offset argument is ignored if present.

Instance details

Defined in System.IO.Streams.Internal

RawIO (StreamPair ByteString)

The offset argument is ignored if present.

Instance details

Defined in System.IO.Streams.Internal