packages feed

binary 0.7.0.0 → 0.7.0.1

raw patch · 2 files changed

+4/−4 lines, 2 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

binary.cabal view
@@ -1,5 +1,5 @@ name:            binary-version:         0.7.0.0+version:         0.7.0.1 license:         BSD3 license-file:    LICENSE author:          Lennart Kolmodin <kolmodin@gmail.com>
src/Data/Binary/Get.hs view
@@ -257,7 +257,7 @@ -- Run a 'Get' monad and return a tuple with thee values. -- The first value is the result of the decoder. The second and third are the -- unused input, and the number of consumed bytes.-{-# DEPRECATED runGetState "Use runGetPartial instead. This function will be removed." #-}+{-# DEPRECATED runGetState "Use runGetIncremental instead. This function will be removed." #-} runGetState :: Get a -> L.ByteString -> ByteOffset -> (a, L.ByteString, ByteOffset) runGetState g lbs0 pos' = go (runGetIncremental g) lbs0   where@@ -308,7 +308,7 @@ -- will add the input to 'B.ByteString' of unconsumed input. -- -- @---    'runGetPartial' myParser \`pushChunk\` myInput1 \`pushChunk\` myInput2+--    'runGetIncremental' myParser \`pushChunk\` myInput1 \`pushChunk\` myInput2 -- @ pushChunk :: Decoder a -> B.ByteString -> Decoder a pushChunk r inp =@@ -322,7 +322,7 @@ -- will add the input to 'ByteString' of unconsumed input. -- -- @---    'runGetPartial' myParser \`pushChunks\` myLazyByteString+--    'runGetIncremental' myParser \`pushChunks\` myLazyByteString -- @ pushChunks :: Decoder a -> L.ByteString -> Decoder a pushChunks r0 = go r0 . L.toChunks