potoki: Simple streaming in IO
This library provides a new simpler approach to the IO-streaming problem.
In difference to libraries like "pipes", "conduit", "streaming", this library is specialised to streaming in the IO monad, which greatly simplifies the abstractions that it provides. This simplification is motivated by the fact that the majority of streaming tasks are performed in IO anyway.
Also, unlike the mentioned libraries, "potoki" API doesn't treat streaming as a side operation in its abstractions, which allows it to express the composition of streams using the standard typeclass instances, thus simplifying the API even further.
Naturally, being simpler limits the application area of this library. Thus it is not capable of transforming custom context monads and etc. It is a tradeoff, but, as we expect, the user will rarely be affected by it.
Another benefit of being specialized to IO is the ability to optimize for performance better. It must however be mentioned that this is only theoretical and no benchmarks have yet been performed.
In some of the mentioned regards "potoki" is similar to the "io-streams" library.
However, unlike that library it approaches composition with the standard typeclass instances.
Also, in difference to "io-streams", "potoki" doesn't use exceptions for control-flow.
In fact, "potoki" doesn't use exceptions whatsoever,
instead it makes failures explicit, using the standard Either
type.
"potoki" comes with automated resource-management (acquisition and clean-up), concurrency and buffering features.
Downloads
- potoki-2.1.2.tar.gz [browse] (Cabal source package)
- Package description (revised from the package)
Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
Versions [RSS] | 0.6.1, 0.6.2, 0.6.3, 0.6.4, 0.6.5, 0.7, 0.7.2, 0.7.3, 0.8, 0.9, 0.9.1, 0.10, 0.10.1, 0.10.2, 0.10.3, 0.10.4, 0.10.5, 0.10.5.1, 0.10.6, 0.11, 0.11.1, 0.11.2, 0.11.3, 2, 2.0.1, 2.0.1.1, 2.0.2, 2.0.3, 2.0.4, 2.0.5, 2.0.6, 2.0.7, 2.0.8, 2.0.9, 2.0.10, 2.0.11, 2.0.12, 2.0.13, 2.0.14, 2.0.15, 2.1, 2.1.1, 2.1.2, 2.1.3, 2.1.4, 2.1.4.1 |
---|---|
Dependencies | potoki-core (>=2.3.2 && <2.4) [details] |
License | MIT |
Copyright | (c) 2017, Metrix.AI |
Author | Nikita Volkov <nikita.y.volkov@mail.ru> |
Maintainer | Metrix.AI Tech Team <tech@metrix.ai> |
Revised | Revision 1 made by NikitaVolkov at 2018-09-18T20:15:44Z |
Category | Streaming |
Home page | https://github.com/metrix-ai/potoki |
Bug tracker | https://github.com/metrix-ai/potoki/issues |
Source repo | head: git clone git://github.com/metrix-ai/potoki.git |
Uploaded | by NikitaVolkov at 2018-09-18T20:05:11Z |
Distributions | |
Reverse Dependencies | 7 direct, 1 indirect [details] |
Downloads | 21491 total (2 in the last 30 days) |
Rating | (no votes yet) [estimated by Bayesian average] |
Your Rating | |
Status | Docs available [build log] Last success reported on 2018-09-18 [all 1 reports] |