packages feed

binary 0.8.5.0 → 0.8.5.1

raw patch · 2 files changed

+8/−8 lines, 2 filesPVP: major bump suggested

API removals or changes: PVP suggests a major version bump

API changes (from Hackage documentation)

- Data.Binary: class Binary t where putList = defaultPutList put = gput . from get = to `fmap` gget
+ Data.Binary: class Binary t

Files

binary.cabal view
@@ -1,5 +1,5 @@ name:            binary-version:         0.8.5.0+version:         0.8.5.1 license:         BSD3 license-file:    LICENSE author:          Lennart Kolmodin <kolmodin@gmail.com>@@ -18,7 +18,7 @@ stability:       provisional build-type:      Simple cabal-version:   >= 1.8-tested-with:     GHC == 7.4.2, GHC == 7.6.3, GHC == 7.8.4, GHC == 7.10.3+tested-with:     GHC == 7.4.2, GHC == 7.6.3, GHC == 7.8.4, GHC == 7.10.3, GHC == 8.0.2 extra-source-files:   README.md changelog.md docs/hcar/binary-Lb.tex tools/derive/*.hs 
src/Data/Binary/Class.hs view
@@ -849,17 +849,17 @@ -- * 'SomeTypeRep' (also known as 'Data.Typeable.TypeRep') -- --- | @since 0.9.0.0. See #typeable-instances#+-- | @since 0.8.5.0. See #typeable-instances# instance Binary VecCount where     put = putWord8 . fromIntegral . fromEnum     get = toEnum . fromIntegral <$> getWord8 --- | @since 0.9.0.0. See #typeable-instances#+-- | @since 0.8.5.0. See #typeable-instances# instance Binary VecElem where     put = putWord8 . fromIntegral . fromEnum     get = toEnum . fromIntegral <$> getWord8 --- | @since 0.9.0.0. See #typeable-instances#+-- | @since 0.8.5.0. See #typeable-instances# instance Binary RuntimeRep where     put (VecRep a b)    = putWord8 0 >> put a >> put b     put (TupleRep reps) = putWord8 1 >> put reps@@ -891,7 +891,7 @@           11 -> pure DoubleRep           _  -> fail "GHCi.TH.Binary.putRuntimeRep: invalid tag" --- | @since 0.9.0.0. See #typeable-instances#+-- | @since 0.8.5.0. See #typeable-instances# instance Binary TyCon where     put tc = do         put (tyConPackage tc)@@ -901,7 +901,7 @@         put (tyConKindRep tc)     get = mkTyCon <$> get <*> get <*> get <*> get <*> get --- | @since 0.9.0.0. See #typeable-instances#+-- | @since 0.8.5.0. See #typeable-instances# instance Binary KindRep where     put (KindRepTyConApp tc k) = putWord8 0 >> put tc >> put k     put (KindRepVar bndr) = putWord8 1 >> put bndr@@ -921,7 +921,7 @@           5 -> KindRepTypeLit <$> get <*> get           _ -> fail "GHCi.TH.Binary.putKindRep: invalid tag" --- | @since 0.9.0.0. See #typeable-instances#+-- | @since 0.8.5.0. See #typeable-instances# instance Binary TypeLitSort where     put TypeLitSymbol = putWord8 0     put TypeLitNat = putWord8 1