The tubes package
This package provides the
Tube monad transformer, allowing any monad
computation to become a stream processing pipeline. A computation of type
Tube a b m r consumes values of type
a and produces values of type
Tubes are coroutines which can suspend computation to yield an
intermediate value or continue execution by requesting an upstream value.
Also provided are
Pumps, the comonadic dual to
Tubes. Examples are
provided of how they can be used with
Tubes but we have almost certainly
only scratched the surface.
Examples and more information may be found at https://github.com/gatlin/tubes.
I seem to have trouble uploading packages where the documentation can be built correctly on Hackage. If I have (once again) messed this up, you can find Haddock documentation at https://niltag.net/tubes. I apologize for any inconvenience!
This should compile on GHC 7.8, but the problem is that previous attempts at setting the versions properly rendered Hackage unable to generate documentation. Hopefully I have this fixed but any advice is welcome.
|Versions||0.1.0.0, 0.2.0.0, 0.2.1.0, 0.2.2.0, 0.2.2.1, 0.2.2.2, 0.2.2.3, 22.214.171.124, 126.96.36.199, 188.8.131.52, 184.108.40.206, 220.127.116.11, 18.104.22.168, 22.214.171.124|
|Dependencies||base (>=4.8 && <5), comonad, free (>=4.12), mtl, transformers (>=0.3) [details]|
|Author||Gatlin C Johnson|
|Source repository||head: git clone https://github.com/gatlin/tubes|
|Uploaded||Tue Sep 8 18:33:19 UTC 2015 by gatlin|
|Downloads||1055 total (11 in the last 30 days)|
|Status||Docs uploaded by user
Build status unknown [no reports yet]
Hackage Matrix CI
For package maintainers and hackage trustees