debian/0000755000000000000000000000000012151073700007162 5ustar debian/watch0000644000000000000000000000034012036247705010222 0ustar version=3 opts="downloadurlmangle=s|archive/([\w\d_-]+)/([\d\.]+)/|archive/$1/$2/$1-$2.tar.gz|,\ filenamemangle=s|(.*)/$|enumerator-$1.tar.gz|" \ http://hackage.haskell.org/packages/archive/enumerator \ ([\d\.]*\d)/ debian/rules0000755000000000000000000000015512036247704010254 0ustar #!/usr/bin/make -f include /usr/share/cdbs/1/rules/debhelper.mk include /usr/share/cdbs/1/class/hlibrary.mk debian/copyright0000644000000000000000000000242112036247704011125 0ustar This package was debianized by Clint Adams on Sun, 29 May 2011 16:04:27 -0000 It was downloaded from http://hackage.haskell.org/package/enumerator Upstream Author: John Millikin Copyright: 2010 John Millikin License: Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. debian/source/0000755000000000000000000000000012036247704010473 5ustar debian/source/format0000644000000000000000000000001412036247704011701 0ustar 3.0 (quilt) debian/compat0000644000000000000000000000000212147616166010376 0ustar 9 debian/control0000644000000000000000000000670112147625327010606 0ustar Source: haskell-enumerator Section: haskell Priority: extra Maintainer: Debian Haskell Group Uploaders: Clint Adams Build-Depends: debhelper (>= 9) , cdbs , haskell-devscripts (>= 0.8.15) , ghc , ghc-prof , libghc-text-dev (>> 0.7) , libghc-text-prof , libghc-transformers-dev (>> 0.2) , libghc-transformers-prof Build-Depends-Indep: ghc-doc , libghc-text-doc , libghc-transformers-doc Standards-Version: 3.9.4 Homepage: http://hackage.haskell.org/package/enumerator Vcs-Darcs: http://darcs.debian.org/pkg-haskell/haskell-enumerator Vcs-Browser: http://darcs.debian.org/cgi-bin/darcsweb.cgi?r=pkg-haskell/haskell-enumerator Package: libghc-enumerator-dev Architecture: any Depends: ${haskell:Depends} , ${shlibs:Depends} , ${misc:Depends} Recommends: ${haskell:Recommends} Suggests: ${haskell:Suggests} Provides: ${haskell:Provides} Description: high-performance left-fold enumerators${haskell:ShortBlurb} ${haskell:Blurb} . 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. Package: libghc-enumerator-prof Architecture: any Depends: ${haskell:Depends} , ${misc:Depends} Recommends: ${haskell:Recommends} Suggests: ${haskell:Suggests} Provides: ${haskell:Provides} Description: high-performance left-fold enumerators${haskell:ShortBlurb} ${haskell:Blurb} Package: libghc-enumerator-doc Section: doc Architecture: all Depends: ${misc:Depends}, ${haskell:Depends} Recommends: ${haskell:Recommends} Suggests: ${haskell:Suggests} Description: high-performance left-fold enumerators${haskell:ShortBlurb} ${haskell:Blurb} debian/changelog0000644000000000000000000000260312151073700011035 0ustar haskell-enumerator (0.4.19-3build1) saucy; urgency=low * Rebuild for new GHC ABIs. -- Colin Watson Tue, 28 May 2013 10:24:16 +0100 haskell-enumerator (0.4.19-3) unstable; urgency=low * Enable compat level 9 * Use substvars for Haskell description blurbs -- Joachim Breitner Fri, 24 May 2013 12:50:33 +0200 haskell-enumerator (0.4.19-2) experimental; urgency=low * Depend on haskell-devscripts 0.8.13 to ensure this packages is built against experimental * Bump standards version, no change -- Joachim Breitner Sun, 14 Oct 2012 12:00:46 +0200 haskell-enumerator (0.4.19-1) unstable; urgency=low * New upstream version. * Bump to Standards-Version 3.9.3. -- Clint Adams Thu, 17 May 2012 10:06:19 -0400 haskell-enumerator (0.4.18-1) unstable; urgency=low * New upstream version. -- Clint Adams Sun, 05 Feb 2012 13:14:59 -0500 haskell-enumerator (0.4.16-1) unstable; urgency=low * New upstream version. -- Clint Adams Mon, 26 Dec 2011 09:56:56 -0500 haskell-enumerator (0.4.14-1) unstable; urgency=low * New upstream version. -- Clint Adams Tue, 30 Aug 2011 13:59:55 -0400 haskell-enumerator (0.4.10-1) unstable; urgency=low * Initial release. -- Clint Adams Sun, 29 May 2011 12:04:27 -0400