sousit-0.3: Source/Sink/Transform: An alternative to lazy IO and iteratees.

Safe HaskellSafe-Inferred

Data.SouSiT.List

Contents

Synopsis

Source

listSource :: Monad m => [a] -> FeedSource m aSource

A source containing the elements of the list

Sink

listSink :: Monad m => Sink a m [a]Source

A sink that collects all input into a list. Does never say SinkDone.