io-streams 1.3.0.0 → 1.3.1.0
raw patch · 3 files changed
+11/−8 lines, 3 filesdep ~attoparsecPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: attoparsec
API changes (from Hackage documentation)
Files
- changelog.md +3/−0
- io-streams.cabal +2/−2
- src/System/IO/Streams/Combinators.hs +6/−6
changelog.md view
@@ -1,3 +1,6 @@+# Version 1.3.1.0+ - Dependency bump for attoparsec 0.13.+ # Version 1.3.0.0 - As long promised, removed the direct use of the `blaze-builder` package in favor of the new `bytestring-builder` transitional package (to be replaced
io-streams.cabal view
@@ -1,5 +1,5 @@ Name: io-streams-Version: 1.3.0.0+Version: 1.3.1.0 License: BSD3 License-file: LICENSE Category: Data, Network, IO-Streams@@ -118,7 +118,7 @@ System.IO.Streams.Internal.Search Build-depends: base >= 4 && <5,- attoparsec >= 0.10 && <0.13,+ attoparsec >= 0.10 && <0.14, bytestring >= 0.9 && <0.11, bytestring-builder >= 0.10 && <0.11, network >= 2.3 && <2.7,
src/System/IO/Streams/Combinators.hs view
@@ -69,7 +69,7 @@ ------------------------------------------------------------------------------ -- | A side-effecting fold over an 'OutputStream', as a stream transformer. ----- The IO action returned by 'outputFoldM' can be used to fetch the updated+-- The IO action returned by 'outputFoldM' can be used to fetch and reset the updated -- seed value. Example: -- -- @@@ -86,8 +86,8 @@ -> a -- ^ initial seed -> OutputStream b -- ^ output stream -> IO (OutputStream b, IO a) -- ^ returns a new stream as well as- -- an IO action to fetch the updated- -- seed value.+ -- an IO action to fetch and reset the+ -- updated seed value. outputFoldM f initial stream = do ref <- newIORef initial os <- makeOutputStream (wr ref)@@ -107,7 +107,7 @@ ------------------------------------------------------------------------------ -- | A side-effecting fold over an 'InputStream', as a stream transformer. ----- The IO action returned by 'inputFoldM' can be used to fetch the updated seed+-- The IO action returned by 'inputFoldM' can be used to fetch and reset the updated seed -- value. Example: -- -- @@@ -122,8 +122,8 @@ -> a -- ^ initial seed -> InputStream b -- ^ input stream -> IO (InputStream b, IO a) -- ^ returns a new stream as well as an- -- IO action to fetch the updated seed- -- value.+ -- IO action to fetch and reset the+ -- updated seed value. inputFoldM f initial stream = do ref <- newIORef initial is <- makeInputStream (rd ref)