bytes 0.11.4 → 0.11.5
raw patch · 3 files changed
+9/−3 lines, 3 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- CHANGELOG.markdown +4/−0
- bytes.cabal +1/−1
- src/Data/Bytes/VarInt.hs +4/−2
CHANGELOG.markdown view
@@ -1,3 +1,7 @@+0.11.5+------+* Fixed issue #7, permitting the doctests to function against bytestring 0.9+ 0.11.4 ------ * Fixed issue #6 with regards to the test harness performance.
bytes.cabal view
@@ -1,6 +1,6 @@ name: bytes category: Data, Serialization-version: 0.11.4+version: 0.11.5 license: BSD3 cabal-version: >= 1.8 license-file: LICENSE
src/Data/Bytes/VarInt.hs view
@@ -36,9 +36,11 @@ -- | Integer/Word types serialized to base-128 variable-width ints. ----- >>> runPutL $ serialize (97 :: Word64)+-- >>> import Data.Monoid (mconcat)+-- >>> import Data.ByteString.Lazy (toChunks)+-- >>> mconcat $ toChunks $ runPutL $ serialize (97 :: Word64) -- "\NUL\NUL\NUL\NUL\NUL\NUL\NULa"--- >>> runPutL $ serialize (97 :: VarInt Word64)+-- >>> mconcat $ toChunks $ runPutL $ serialize (97 :: VarInt Word64) -- "a" newtype VarInt n = VarInt { unVarInt :: n } deriving (Eq, Ord, Show, Enum, Num, Integral, Bounded, Real, Bits)