mediabus-0.3.2.1: Multimedia streaming on top of Conduit

Safe HaskellNone
LanguageHaskell2010

Data.MediaBus.Conduit.TypeAnnotations

Description

Conduit combinators that make the type of a conduit unambiguous to the compiler via proxies.

Synopsis

Documentation

annotateTypeC :: proxy a -> Conduit a m a -> Conduit a m a Source #

Annotate the type of a Conduit where input and output are the same

annotateTypeCIn :: proxy a -> Conduit a m b -> Conduit a m b Source #

Annotate the input type of a Conduit

annotateTypeCOut :: proxy b -> Conduit a m b -> Conduit a m b Source #

Annotate the output type of a Conduit

annotateTypeSource :: proxy a -> Source m a -> Source m a Source #

Annotate the output type of a Source

annotateTypeSink :: proxy a -> Sink a m r -> Sink a m r Source #

Annotate the input type of a Sink