-
Notifications
You must be signed in to change notification settings - Fork 1
/
potoki.cabal
77 lines (74 loc) · 2.92 KB
/
potoki.cabal
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
name:
potoki
version:
2.1.4.1
synopsis:
Simple streaming in IO
description:
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.
category:
Streaming
homepage:
https://github.com/metrix-ai/potoki
bug-reports:
https://github.com/metrix-ai/potoki/issues
author:
Nikita Volkov <nikita.y.volkov@mail.ru>
maintainer:
Metrix.AI Tech Team <tech@metrix.ai>
copyright:
(c) 2017, Metrix.AI
license:
MIT
license-file:
LICENSE
build-type:
Simple
cabal-version:
>=1.10
source-repository head
type:
git
location:
git://github.com/metrix-ai/potoki.git
library
hs-source-dirs:
library
default-extensions:
Arrows, BangPatterns, ConstraintKinds, DataKinds, DefaultSignatures, DeriveDataTypeable, DeriveFoldable, DeriveFunctor, DeriveGeneric, DeriveTraversable, EmptyDataDecls, FlexibleContexts, FlexibleInstances, FunctionalDependencies, GADTs, GeneralizedNewtypeDeriving, LambdaCase, LiberalTypeSynonyms, MagicHash, MultiParamTypeClasses, MultiWayIf, NoImplicitPrelude, NoMonomorphismRestriction, OverloadedStrings, PatternGuards, ParallelListComp, QuasiQuotes, RankNTypes, RecordWildCards, ScopedTypeVariables, StandaloneDeriving, TemplateHaskell, TupleSections, TypeFamilies, TypeOperators, UnboxedTuples
default-language:
Haskell2010
exposed-modules:
Potoki.Consume
Potoki.IO
Potoki.Produce
Potoki.Transform
build-depends:
potoki-core >=2.3.4.1 && <2.4