attoparsec-iteratee 0.1 → 0.1.1
raw patch · 2 files changed
+2/−2 lines, 2 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
attoparsec-iteratee.cabal view
@@ -1,5 +1,5 @@ name: attoparsec-iteratee-version: 0.1+version: 0.1.1 synopsis: An adapter to convert attoparsec Parsers into blazing-fast Iteratees description: An adapter to convert attoparsec Parsers into blazing-fast Iteratees
src/Data/Attoparsec/Iteratee.hs view
@@ -26,7 +26,7 @@ (ByteString -> Atto.Result a) -> Stream -> m (IterV m a)- f k (EOF Nothing) = finalChunk $ k S.empty+ f k (EOF Nothing) = finalChunk $ feed (k S.empty) S.empty f _ (EOF (Just e)) = reportError e f k (Chunk s) = let s' = S.concat $ L.toChunks $ fromWrap s in if S.null s'