binary 0.8.2.0 → 0.8.2.1
raw patch · 3 files changed
+7/−4 lines, 3 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- binary.cabal +1/−1
- changelog.md +5/−0
- src/Data/Binary/Get/Internal.hs +1/−3
binary.cabal view
@@ -1,5 +1,5 @@ name: binary-version: 0.8.2.0+version: 0.8.2.1 license: BSD3 license-file: LICENSE author: Lennart Kolmodin <kolmodin@gmail.com>
changelog.md view
@@ -1,6 +1,11 @@ binary ====== +binary-0.8.2.1+--------------++- Fix compilation error when using older GHC versions and clang. clang barfs on some of its CPP input (#105).+ binary-0.8.2.0 --------------
src/Data/Binary/Get/Internal.hs view
@@ -398,9 +398,7 @@ {-# RULES "readN/readN merge" forall n m f g.- apG (readN n f) (readN m g) = readN (n+m) (\bs -> f bs $ g (B.unsafeDrop n bs))-- #-}+ apG (readN n f) (readN m g) = readN (n+m) (\bs -> f bs $ g (B.unsafeDrop n bs)) #-} -- | Ensure that there are at least @n@ bytes available. If not, the -- computation will escape with 'Partial'.