simple-conduit-0.6.0: A simple streaming I/O library based on monadic folds

Safe HaskellSafe
LanguageHaskell98

Conduit.Simple.Compat

Synopsis

Documentation

($=) :: a -> (a -> b) -> b infixl 1 Source #

Compose a Source and a Conduit into a new Source. Note that this is just flipped function application, so ($) can be used to achieve the same thing.

(=$) :: (a -> b) -> (b -> c) -> a -> c infixr 2 Source #

Compose a Conduit and a Sink into a new Sink. Note that this is just function composition, so (.) can be used to achieve the same thing.

(=$=) :: (a -> b) -> (b -> c) -> a -> c infixr 2 Source #

Compose two Conduit. This is also just function composition.

($$) :: a -> (a -> b) -> b infixr 0 Source #

Compose a Source and a Sink and compute the result. Note that this is just flipped function application, so ($) can be used to achieve the same thing.

sequenceSources :: (Traversable f, Monad m) => f (Source m a) -> Source m (f a) Source #

Sequence a collection of sources.

>>> sinkList $ sequenceSources [yieldOne 1, yieldOne 2, yieldOne 3]
[[1,2,3]]