distributed-process 0.7.1 → 0.7.2
raw patch · 3 files changed
+7/−14 lines, 3 filesdep ~basePVP ok
version bump matches the API change (PVP)
Dependency ranges changed: base
API changes (from Hackage documentation)
Files
- ChangeLog +4/−0
- distributed-process.cabal +1/−1
- src/Control/Distributed/Process/Serializable.hs +2/−13
ChangeLog view
@@ -1,3 +1,7 @@+2017-08-31 Facundo Domínguez <facundo.dominguez@tweag.io> 0.7.2++* Fixed build errors with ghc-8.2.1.+ 2017-08-22 Facundo Domínguez <facundo.dominguez@tweag.io> 0.7.1 * Relax upper bounds in dependencies to build with ghc-8.2.1.
distributed-process.cabal view
@@ -1,5 +1,5 @@ Name: distributed-process-Version: 0.7.1+Version: 0.7.2 Cabal-Version: >=1.8 Build-Type: Simple License: BSD3
src/Control/Distributed/Process/Serializable.hs view
@@ -2,7 +2,6 @@ {-# LANGUAGE UndecidableInstances #-} {-# LANGUAGE FlexibleInstances #-} {-# LANGUAGE GADTs #-}-{-# LANGUAGE CPP #-} module Control.Distributed.Process.Serializable ( Serializable , encodeFingerprint@@ -17,13 +16,7 @@ import Data.Binary (Binary) -#if MIN_VERSION_base(4,7,0)-import Data.Typeable (Typeable)-import Data.Typeable.Internal (TypeRep(TypeRep), typeOf)-#else-import Data.Typeable (Typeable(..))-import Data.Typeable.Internal (TypeRep(TypeRep))-#endif+import Data.Typeable (Typeable, typeRepFingerprint, typeOf) import Numeric (showHex) import Control.Exception (throw)@@ -71,11 +64,7 @@ -- | The fingerprint of the typeRep of the argument fingerprint :: Typeable a => a -> Fingerprint-#if MIN_VERSION_base(4,8,0)-fingerprint a = let TypeRep fp _ _ _ = typeOf a in fp-#else-fingerprint a = let TypeRep fp _ _ = typeOf a in fp-#endif+fingerprint = typeRepFingerprint . typeOf -- | Show fingerprint (for debugging purposes) showFingerprint :: Fingerprint -> ShowS