haskell-enumerator 0.4.10-1build1 source package in Ubuntu
Changelog
haskell-enumerator (0.4.10-1build1) oneiric; urgency=low * No change rebuild against new GHC ABIs -- Iain Lane <email address hidden> Mon, 06 Jun 2011 09:32:34 +0100
Upload details
- Uploaded by:
- Iain Lane
- Uploaded to:
- Oneiric
- Original maintainer:
- Debian Haskell Group
- Architectures:
- any
- Section:
- haskell
- Urgency:
- Low Urgency
See full publishing history Publishing
Series | Published | Component | Section |
---|
Downloads
File | Size | SHA-256 Checksum |
---|---|---|
haskell-enumerator_0.4.10.orig.tar.gz | 49.1 KiB | 770496e5e76ad9c9ff09f0276fada3a9e2001999bde53090bb2daa9a83702ab8 |
haskell-enumerator_0.4.10-1build1.debian.tar.gz | 3.0 KiB | 0b272db23665a8d234422579aa3da433a1a87f09ff903262a3cb92c8e92f9e61 |
haskell-enumerator_0.4.10-1build1.dsc | 2.2 KiB | 3e4ea9b5c9f0b1eb70d8ac5f66c61f34423b06f4598863c82cdc02b86a256421 |
Available diffs
- diff from 0.4.10-1 to 0.4.10-1build1 (340 bytes)
Binary packages built by this source
- libghc-enumerator-dev: high-performance left-fold enumerators
This package provides a library for the Haskell programming language.
See http://www.haskell. org/ for more information on Haskell.
.
Typical buffer–based incremental I/O is based around a single loop,
which reads data from some source (such as a socket or file),
transforms it, and generates one or more outputs (such as a line
count, HTTP responses, or modified file). Although efficient and
safe, these loops are all single–purpose; it is difficult or
impossible to compose buffer–based processing loops.
.
Haskell's concept of "lazy I/O" allows pure code to operate on data
from an external source. However, lazy I/O has several shortcomings.
Most notably, resources such as memory and file handles can be
retained for arbitrarily long periods of time, causing unpredictable
performance and error conditions.
.
Enumerators are an efficient, predictable, and safe alternative to
lazy I/O. Discovered by Oleg Kiselyov, they allow large datasets to
be processed in near–constant space by pure code. Although somewhat
more complex to write, using enumerators instead of lazy I/O
produces more correct programs.
.
This library contains an enumerator implementation for Haskell,
designed to be both simple and efficient. Three core types are
defined, along with numerous helper functions:
.
Iteratee: Data sinks, analogous to left folds. Iteratees consume
a sequence of input values, and generate a single output value. Many
iteratees are designed to perform side effects (such as printing to
stdout), so they can also be used as monad transformers.
.
Enumerator: Data sources, which generate input sequences. Typical
enumerators read from a file handle, socket, random number generator,
or other external stream. To operate, enumerators are passed an
iteratee, and provide that iteratee with input until either the
iteratee has completed its computation, or EOF.
.
Enumeratee: Data transformers, which operate as both enumerators
and iteratees. Enumeratees read from an outer enumerator, and
provide the transformed data to an inner iteratee.
- libghc-enumerator-doc: high-performance left-fold enumerators; documentation
This package provides the documentation for a library for the Haskell
programming language.
See http://www.haskell. org/ for more information on Haskell.
- libghc-enumerator-prof: high-performance left-fold enumerators; profiling libraries
This package provides a library for the Haskell programming language,
compiled for profiling.
See http://www.haskell. org/ for more information on Haskell.