tubes: Effectful, iteratee-inspired stream processing based on a free monad.
This is a package candidate release! Here you can preview how this package release will appear once published to the main package index (which can be accomplished via the 'maintain' link below). Please note that once a package has been published to the main package index it cannot be undone! Please consult the package uploading documentation for more information.
Warnings:
- 'ghc-options: -O2' is rarely needed. Check that it is giving a real benefit and not just imposing longer compile times on your users.
- Exposed modules use unallocated top-level names: Tubes
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
b
.
Tube
s are coroutines which can suspend computation to yield an
intermediate value or continue execution by requesting an upstream value.
Also provided are Pump
s, the comonadic dual to Tube
s. Examples are
provided of how they can be used with Tube
s 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.
Properties
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, 1.0.0.0, 1.0.0.0, 1.0.0.1, 1.1.0.0, 2.0.0.0, 2.0.0.1, 2.1.0.0, 2.1.1.0 |
---|---|
Change log | None available |
Dependencies | base (>=4.8 && <5), comonad, free (>=4.12), mtl, transformers (>=0.3) [details] |
License | GPL-3.0-only |
Copyright | 2015 |
Author | Gatlin C Johnson |
Maintainer | gatlin@niltag.net |
Category | Control, Streaming |
Home page | https://github.com/gatlin/tubes |
Source repo | head: git clone https://github.com/gatlin/tubes |
Uploaded | by gatlin at 2015-09-08T18:32:20Z |
Modules
[Index]
Downloads
- tubes-1.0.0.0.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
Package maintainers
For package maintainers and hackage trustees