The sousit package

[Tags: bsd3, library]

Haskell library for Sources, Sinks and Transformers. The data is pushed from the source through the transfomers into the sink. The sink or a transfomer can decide at any time to end the transfer (see Iteratees). The transformers are very reusable since they can not depend on side effects, so they can be used with files as well as with simple lists.

Allows you to build pipelines such as:

>>> listSource [1..10] $$ T.map(+1) =$= T.buffer 3 0 (+) =$ listSink [9,18,27,11]

its possible to mix various type of sources and sinks, such as in:

>>> fileSourceLine \"myfile.txt\" $$ T.drop 1 =$= T.map (++ "!") =$ listSink [\"Hello Mario!\", \"How're you doing?!\"]

For more documentation see <https://github.com/msiegenthaler/SouSiT>.


Properties

Versions0.3, 0.4
Dependenciesbase (>4 && <5), bytestring, cereal, mtl, resourcet, stm, transformers
LicenseBSD3
Copyright(c) 2012 Mario Siegenthaler
AuthorMario Siegenthaler
Maintainermsiegenthaler@inventsoft.ch
CategoryControl
Home pagehttps://github.com/msiegenthaler/SouSiT
Source repositoryhead: git clone git://github.com/msiegenthaler/SouSiT.git
Upload dateSat Sep 15 20:40:18 UTC 2012
Uploaded byMarioSiegenthaler
Downloads153 total (17 in last 30 days)

Modules

[Index]

Downloads

Maintainers' corner

For package maintainers and hackage trustees