ghc-enumerator

Reliable, high-performance processing with left-fold enumerators
  • Overview
  • Builds
  • Updates
  • Bugs
  • Contents
  • Changelog
  • Sources
  • Relationships

Description

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.

Active Releases Overview

Release Latest Released Version Version in Testing
{{html release}} 
{{html stable_version}} {{html testing_version}}

Upstream Summary

History

buildsys.tag

karsten's ghc-enumerator-0.4.19-7.fc20 tagged into SHADOWBUILD-KH-f21-build by karsten (ppc)

Details
2 months ago - 2014-02-15 19:41:54

buildsys.package.list.change

Package list change for ghc-enumerator: 'SHADOWBUILD-KH-f21-build' (ppc)

Details
2 months ago - 2014-02-15 19:41:54

buildsys.package.list.change

Package list change for ghc-enumerator: 'epel7'

Details
4 months ago - 2013-12-16 00:25:11

fedoratagger.tag.create

mayorga added tag "haskell" to ghc-enumerator

Details
4 months ago - 2013-12-05 15:46:25

fedoratagger.tag.create

mayorga added tag "library" to ghc-enumerator

Details
4 months ago - 2013-12-05 15:46:10

Found a bug? File a ticket. Note: There's some caching going on here. If you expect something and don't see it, check back in 5 minutes.

This Web Site is licensed under the GNU Affero General Public License. You may get sources for the current running code from these repositories: