enumerator 0.4.9.1 → 0.4.10
raw patch · 7 files changed
+25/−5 lines, 7 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- enumerator.cabal +1/−1
- hs/Data/Enumerator/Binary.hs +5/−0
- hs/Data/Enumerator/List.hs +1/−1
- hs/Data/Enumerator/Text.hs +5/−0
- src/api-docs.anansi +10/−0
- src/enumerator.anansi +2/−2
- src/list-analogues.anansi +1/−1
enumerator.cabal view
@@ -1,5 +1,5 @@ name: enumerator-version: 0.4.9.1+version: 0.4.10 synopsis: Reliable, high-performance processing with left-fold enumerators license: MIT license-file: license.txt
hs/Data/Enumerator/Binary.hs view
@@ -9,6 +9,11 @@ -- Maintainer: jmillikin@gmail.com -- Portability: portable --+-- Byte-oriented alternatives to "Data.Enumerator.List". Note that the+-- enumeratees in this module must unpack their inputs to work properly. If+-- you do not need to handle leftover input on a byte-by-byte basis, the+-- chunk-oriented versions will be much faster.+-- -- This module is intended to be imported qualified: -- -- @
hs/Data/Enumerator/List.hs view
@@ -90,7 +90,7 @@ f = L.foldl' step loop acc stream = case stream of Chunks [] -> continue (loop acc)- Chunks xs -> continue (loop (f acc xs))+ Chunks xs -> continue (loop $! f acc xs) EOF -> yield acc EOF
hs/Data/Enumerator/Text.hs view
@@ -9,6 +9,11 @@ -- Maintainer: jmillikin@gmail.com -- Portability: portable --+-- Character-oriented alternatives to "Data.Enumerator.List". Note that the+-- enumeratees in this module must unpack their inputs to work properly. If+-- you do not need to handle leftover input on a char-by-char basis, the+-- chunk-oriented versions will be much faster.+-- -- This module is intended to be imported qualified: -- -- @
src/api-docs.anansi view
@@ -55,6 +55,11 @@ -- Maintainer: jmillikin@gmail.com -- Portability: portable --+-- Byte-oriented alternatives to "Data.Enumerator.List". Note that the+-- enumeratees in this module must unpack their inputs to work properly. If+-- you do not need to handle leftover input on a byte-by-byte basis, the+-- chunk-oriented versions will be much faster.+-- -- This module is intended to be imported qualified: -- -- @@@ -75,6 +80,11 @@ -- -- Maintainer: jmillikin@gmail.com -- Portability: portable+--+-- Character-oriented alternatives to "Data.Enumerator.List". Note that the+-- enumeratees in this module must unpack their inputs to work properly. If+-- you do not need to handle leftover input on a char-by-char basis, the+-- chunk-oriented versions will be much faster. -- -- This module is intended to be imported qualified: --
src/enumerator.anansi view
@@ -30,10 +30,10 @@ \newcommand{\io}{{\sc i/o}} -\title{enumerator\_0.4.9}+\title{enumerator\_0.4.10} \author{John Millikin\\ \href{mailto:"John Millikin" <jmillikin@gmail.com>}{\tt jmillikin@gmail.com}}-\date{March 29, 2011}+\date{April 26, 2011} \begin{document}
src/list-analogues.anansi view
@@ -19,7 +19,7 @@ f = L.foldl' step loop acc stream = case stream of Chunks [] -> continue (loop acc)- Chunks xs -> continue (loop (f acc xs))+ Chunks xs -> continue (loop $! f acc xs) EOF -> yield acc EOF :