packages feed

bytes 0.11.2 → 0.11.3

raw patch · 3 files changed

+11/−2 lines, 3 filesdep +bytesPVP ok

version bump matches the API change (PVP)

Dependencies added: bytes

API changes (from Hackage documentation)

Files

CHANGELOG.markdown view
@@ -1,3 +1,7 @@+0.11.3+------+* Fixed the doctests from 0.11.2+ 0.11.2 ------ * Constraint `binary` version for issue #5.
bytes.cabal view
@@ -1,6 +1,6 @@ name:          bytes category:      Data, Serialization-version:       0.11.2+version:       0.11.3 license:       BSD3 cabal-version: >= 1.8 license-file:  LICENSE@@ -78,6 +78,7 @@   else     build-depends:       base,+      bytes,       directory      >= 1.0,       doctest        >= 0.9.1,       filepath       >= 1.2
src/Data/Bytes/VarInt.hs view
@@ -30,10 +30,14 @@ import Data.Bytes.Signed import Data.Word +-- $setup+-- >>> import Data.Word+-- >>> import Data.Bytes.Serial+ -- | Integer/Word types serialized to base-128 variable-width ints. -- -- >>> runPutL $ serialize (97 :: Word64)--- "a\NUL\NUL\NUL\NUL\NUL\NUL\NUL"+-- "\NUL\NUL\NUL\NUL\NUL\NUL\NULa" -- >>> runPutL $ serialize (97 :: VarInt Word64) -- "a" newtype VarInt n = VarInt { unVarInt :: n }