packages feed

safecopy 0.9.4.1 → 0.9.4.2

raw patch · 2 files changed

+6/−6 lines, 2 filesdep ~containersdep ~template-haskelldep ~timePVP: major bump suggested

API removals or changes: PVP suggests a major version bump

Dependency ranges changed: containers, template-haskell, time

API changes (from Hackage documentation)

+ Data.SafeCopy: -- only extend one other type.
+ Data.SafeCopy: -- | This is the type we're extending. Each type capable of migration can
+ Data.SafeCopy.Internal: -- only extend one other type.
+ Data.SafeCopy.Internal: -- | This is the type we're extending. Each type capable of migration can
- Data.SafeCopy: extended_base :: (Migrate (Reverse a)) => Kind a
+ Data.SafeCopy: extended_base :: Migrate (Reverse a) => Kind a
- Data.SafeCopy.Internal: [Extended] :: (Migrate (Reverse a)) => Kind a -> Kind a
+ Data.SafeCopy.Internal: [Extended] :: Migrate (Reverse a) => Kind a -> Kind a
- Data.SafeCopy.Internal: [Extends] :: (Migrate a) => Proxy (MigrateFrom a) -> Kind a
+ Data.SafeCopy.Internal: [Extends] :: Migrate a => Proxy (MigrateFrom a) -> Kind a
- Data.SafeCopy.Internal: extended_base :: (Migrate (Reverse a)) => Kind a
+ Data.SafeCopy.Internal: extended_base :: Migrate (Reverse a) => Kind a
- Data.SafeCopy.Internal: getForwardKind :: (Migrate (Reverse a)) => Kind a -> Kind (MigrateFrom (Reverse a))
+ Data.SafeCopy.Internal: getForwardKind :: Migrate (Reverse a) => Kind a -> Kind (MigrateFrom (Reverse a))
- Data.SafeCopy.Internal: versionFromKind :: (SafeCopy a) => Kind a -> Version a
+ Data.SafeCopy.Internal: versionFromKind :: SafeCopy a => Kind a -> Version a

Files

safecopy.cabal view
@@ -3,7 +3,7 @@ -- http://www.haskell.org/cabal/release/cabal-latest/doc/users-guide/authors.html#pkg-descr. -- The name of the package. Name:                safecopy-Version:             0.9.4.1+Version:             0.9.4.2 Synopsis:            Binary serialization with version control. Description:         An extension to Data.Serialize with built-in version control. Homepage:            https://github.com/acid-state/safecopy@@ -34,11 +34,11 @@                        array < 0.6,                        cereal >= 0.5 && < 0.6,                        bytestring < 0.11,-                       containers >= 0.3 && < 0.6,+                       containers >= 0.3 && < 0.7,                        old-time < 1.2,-                       template-haskell < 2.14,+                       template-haskell < 2.15,                        text < 1.3,-                       time < 1.9,+                       time < 1.10,                        vector >= 0.10 && < 0.13    if !impl(ghc > 8.0)
src/Data/SafeCopy.hs view
@@ -49,8 +49,8 @@ --     getCopy = contain $ Contacts_v0 \<$\> safeGet -- --data Contact = Contact { name    :: Name---                        , address :: Address---                        , phone   :: Phone }+--                       , address :: Address+--                       , phone   :: Phone } --instance SafeCopy Contact where --    putCopy Contact{..} = contain $ do safePut name; safePut address; safePut phone --    getCopy = contain $ Contact \<$\> safeGet \<*\> safeGet \<*\> safeGet