unliftio-streams-0.1.0.0: Generalization of io-streams to MonadUnliftIO

Safe HaskellNone
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
BufferedIO (InputStream ByteString) 
Instance details

Defined in System.IO.Streams.Internal

BufferedIO (StreamPair ByteString) 
Instance details

Defined in System.IO.Streams.Internal

RawIO (InputStream ByteString) 
Instance details

Defined in System.IO.Streams.Internal

RawIO (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