[commit: packages/binary] master: Class: Drop Data.Typeable import for GHC <8.2 (e3ee6ce)

git at git.haskell.org git at git.haskell.org
Thu Apr 6 22:29:14 UTC 2017


Repository : ssh://git@git.haskell.org/binary

On branch  : master
Link       : http://git.haskell.org/packages/binary.git/commitdiff/e3ee6ce128f031b2be2cb71bfe23b8605ff433ff

>---------------------------------------------------------------

commit e3ee6ce128f031b2be2cb71bfe23b8605ff433ff
Author: Ben Gamari <ben at smart-cactus.org>
Date:   Mon Mar 13 10:12:21 2017 -0400

    Class: Drop Data.Typeable import for GHC <8.2


>---------------------------------------------------------------

e3ee6ce128f031b2be2cb71bfe23b8605ff433ff
 src/Data/Binary/Class.hs | 2 --
 1 file changed, 2 deletions(-)

diff --git a/src/Data/Binary/Class.hs b/src/Data/Binary/Class.hs
index dd70f39..03396ba 100644
--- a/src/Data/Binary/Class.hs
+++ b/src/Data/Binary/Class.hs
@@ -78,8 +78,6 @@ import Type.Reflection
 import Type.Reflection.Unsafe
 import Data.Kind (Type)
 import GHC.Exts (RuntimeRep(..), VecCount, VecElem)
-#else
-import Data.Typeable
 #endif
 import qualified Data.ByteString as B
 #if MIN_VERSION_bytestring(0,10,4)



More information about the ghc-commits mailing list