ekmett / bytes

Serialization primitives that work with both cereal and binary.
http://hackage.haskell.org/package/bytes
Other
22 stars 13 forks source link

Lower version bounds on binary #5

Closed snoyberg closed 11 years ago

snoyberg commented 11 years ago

This is just a cabal file change. With this change, the code compiles against binary 0.5.1.0 using GHC 7.4. However, I was unable to get the test suite to pass either with or without this change (using both GHC 7.4 and GHC 7.6) due to the following error:

Test suite doctests: RUNNING...
### Failure in src/Data/Bytes/VarInt.hs:35: expression `runPutL $ serialize (97 :: Word64)'
expected: "a\NUL\NUL\NUL\NUL\NUL\NUL\NUL"
 but got: 
          <interactive>:16:1: Not in scope: `runPutL'

          <interactive>:16:11: Not in scope: `serialize'

          <interactive>:16:28:
              Not in scope: type constructor or class `Word64'
ekmett commented 11 years ago

Merged and pushed to hackage as 0.11.2