packages feed

store 0.4.1 → 0.4.2

raw patch · 3 files changed

+4/−4 lines, 3 filesPVP: major bump suggested

API removals or changes: PVP suggests a major version bump

API changes (from Hackage documentation)

- Data.Store.Streaming: conduitDecode :: (MonadIO m, MonadResource m, Store a) => Maybe Int -> Conduit ByteString m (Message a)
+ Data.Store.Streaming: conduitDecode :: (MonadResource m, Store a) => Maybe Int -> Conduit ByteString m (Message a)

Files

src/Data/Store/Streaming.hs view
@@ -86,7 +86,7 @@ -- successfully deserialised object, or a request for more input. type PeekMessage i m a = FT ((->) i) m a -needMoreInput :: Monad m => PeekMessage i m i+needMoreInput :: PeekMessage i m i needMoreInput = wrap return {-# INLINE needMoreInput #-} @@ -217,7 +217,7 @@ {-# INLINE conduitEncode #-}  -- | Conduit for decoding 'Message's from 'ByteString's.-conduitDecode :: (MonadIO m, MonadResource m, Store a)+conduitDecode :: (MonadResource m, Store a)               => Maybe Int               -- ^ Initial length of the 'ByteBuffer' used for               -- buffering the incoming 'ByteString's.  If 'Nothing',
store.cabal view
@@ -3,7 +3,7 @@ -- see: https://github.com/sol/hpack  name:           store-version:        0.4.1+version:        0.4.2 synopsis:       Fast binary serialization category:       Serialization, Data homepage:       https://github.com/fpco/store#readme
test/Data/StoreSpec.hs view
@@ -414,4 +414,4 @@  isUnexpectedMarkerException :: Test.Hspec.Selector PeekException isUnexpectedMarkerException (PeekException _ t) =-    "Expected marker: " `T.isPrefixOf` t+    "Expected marker for ascending Map / IntMap: " `T.isPrefixOf` t