Switch branches/tags
zlib-conduit/1.0.0 zlib-conduit/ zlib-conduit/ zlib-conduit/ zlib-conduit/0.5.0 zlib-conduit/ warp/ wai/0.4.1 wai/0.4.0 wai/0.3.2 wai/0.3.1 wai/0.3.0 wai/0.2.2 wai/0.2.1 wai/0.2.0 wai/0.1.0 wai/0.0.1 wai/0.0.0 wai-handler-scgi/0.4.0 wai-handler-scgi/0.3.0 wai-handler-scgi/0.2.0 wai-handler-launch/0.0.1 wai-handler-launch/0.0.0 wai-extra/ wai-extra/ wai-extra/0.4.0 wai-extra/0.3.3 wai-extra/ wai-extra/0.3.2 wai-extra/0.3.1 wai-extra/0.3.0 wai-extra/ wai-extra/ wai-extra/0.2.4 wai-extra/0.2.3 wai-extra/ wai-extra/ wai-extra/0.2.2 wai-extra/0.2.1 wai-extra/0.2.0 wai-extra/ wai-extra/0.1.3 wai-extra/ wai-extra/0.1.2 wai-extra/0.1.1 wai-extra/0.1.0 wai-extra/ wai-extra/ wai-extra/0.0.0 unix-process-conduit/ unix-process-conduit/ unix-process-conduit/ unix-process-conduit/0.2.2 unix-process-conduit/ unix-process-conduit/ unix-process-conduit/0.2.1 unix-process-conduit/ unix-process-conduit/ unix-process-conduit/0.2.0 unix-process-conduit/ unix-process-conduit/0.1.0 resourcet/1.1.10 resourcet/1.1.9 resourcet/ resourcet/1.1.8 resourcet/ resourcet/ resourcet/ resourcet/ resourcet/ resourcet/1.1.7 resourcet/1.1.6 resourcet/1.1.5 resourcet/ resourcet/1.1.4 resourcet/ resourcet/ resourcet/ resourcet/1.1.3 resourcet/ resourcet/ resourcet/ resourcet/1.1.2 resourcet/1.1.1 resourcet/ resourcet/1.1.0 resourcet/ resourcet/ resourcet/0.4.10 resourcet/0.4.9 resourcet/0.4.8 resourcet/ resourcet/ resourcet/0.4.7 resourcet/0.4.6 resourcet/0.4.5 resourcet/0.4.4 resourcet/0.4.3 resourcet/0.4.2 resourcet/0.4.1
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
84 lines (78 sloc) 4.29 KB
Name: conduit
Version: 0.4.2
Synopsis: Streaming data processing library.
Conduits are an approach to the streaming data problem. It is meant as an alternative to enumerators\/iterators, hoping to address the same issues with different trade-offs based on real-world experience with enumerators. For more information, see <>.
Release history:
[0.4] Inspired by the design of the pipes package: we now have a single unified type underlying @Source@, @Sink@, and @Conduit@. This type is named @Pipe@. There are type synonyms provided for the other three types. Additionally, @BufferedSource@ is no longer provided. Instead, the connect-and-resume operator, @$$+@, can be used for the same purpose.
[0.3] ResourceT has been greatly simplified, specialized for IO, and moved into a separate package. Instead of hard-coding ResourceT into the conduit datatypes, they can now live around any monad. The Conduit datatype has been enhanced to better allow generation of streaming output. The SourceResult, SinkResult, and ConduitResult datatypes have been removed entirely.
[0.2] Instead of storing state in mutable variables, we now use CPS. A @Source@ returns the next @Source@, and likewise for @Sink@s and @Conduit@s. Not only does this take better advantage of GHC\'s optimizations (about a 20% speedup), but it allows some operations to have a reduction in algorithmic complexity from exponential to linear. This also allowed us to remove the @Prepared@ set of types. Also, the @State@ functions (e.g., @sinkState@) use better constructors for return types, avoiding the need for a dummy state on completion.
[0.1] @BufferedSource@ is now an abstract type, and has a much more efficient internal representation. The result was a 41% speedup on microbenchmarks (note: do not expect speedups anywhere near that in real usage). In general, we are moving towards @BufferedSource@ being a specific tool used internally as needed, but using @Source@ for all external APIs.
[0.0] Initial release.
License: BSD3
License-file: LICENSE
Author: Michael Snoyman
Category: Data, Conduit
Build-type: Simple
Cabal-version: >=1.8
extra-source-files: test/main.hs, test/random
flag debug
default: True
description: Turn on some runtime check to ensure invariants are respected.
flag nohandles
if os(windows)
cpp-options: -DCABAL_OS_WINDOWS
other-modules: System.Win32File
other-modules: System.PosixFile
if flag(nohandles)
cpp-options: -DNO_HANDLES
Exposed-modules: Data.Conduit
Other-modules: Data.Conduit.Util.Source
Build-depends: base >= 4.3 && < 5
, resourcet >= 0.3 && < 0.4
, lifted-base >= 0.1 && < 0.2
, transformers-base >= 0.4.1 && < 0.5
, monad-control >= 0.3.1 && < 0.4
, containers
, transformers >= 0.2.2 && < 0.4
, bytestring >= 0.9
, text >= 0.11
, void >= 0.5.5 && < 0.6
ghc-options: -Wall
if flag(debug)
cpp-options: -DDEBUG
test-suite test
hs-source-dirs: test
main-is: main.hs
type: exitcode-stdio-1.0
cpp-options: -DTEST
build-depends: conduit
, base
, hspec >= 0.9.1
, HUnit
, QuickCheck
, bytestring
, transformers
, text
, resourcet
ghc-options: -Wall
source-repository head
type: git
location: git://