1- {-# LANGUAGE CPP, ForeignFunctionInterface, DeriveDataTypeable #-}
1+ {-# LANGUAGE CPP, ForeignFunctionInterface #-}
22{-# LANGUAGE DeriveGeneric #-}
33{-# LANGUAGE CApiFFI #-}
44-----------------------------------------------------------------------------
@@ -121,7 +121,6 @@ import Control.Exception (assert)
121121import Data.Bits (toIntegralSized )
122122import Data.Coerce (coerce )
123123import Data.Maybe (fromMaybe )
124- import Data.Typeable (Typeable )
125124import GHC.Generics (Generic )
126125#ifdef DEBUG
127126import System.IO (hPutStrLn , stderr )
@@ -580,7 +579,7 @@ fromFlush Block = #{const Z_BLOCK}
580579-- variations.
581580--
582581data Format = GZip | Zlib | Raw | GZipOrZlib
583- deriving (Eq , Ord , Enum , Bounded , Show , Typeable
582+ deriving (Eq , Ord , Enum , Bounded , Show
584583 , Generic
585584 )
586585
@@ -622,7 +621,7 @@ formatSupportsDictionary _ = False
622621-- | The compression method
623622--
624623data Method = Deflated
625- deriving (Eq , Ord , Enum , Bounded , Show , Typeable
624+ deriving (Eq , Ord , Enum , Bounded , Show
626625 , Generic
627626 )
628627
@@ -645,7 +644,6 @@ newtype CompressionLevel = CompressionLevel Int
645644 ( Eq
646645 , Ord -- ^ @since 0.7.0.0
647646 , Show
648- , Typeable
649647 , Generic
650648 )
651649
@@ -705,7 +703,6 @@ newtype WindowBits = WindowBits Int
705703 ( Eq
706704 , Ord
707705 , Show
708- , Typeable
709706 , Generic
710707 )
711708
@@ -764,7 +761,6 @@ newtype MemoryLevel = MemoryLevel Int
764761 ( Eq
765762 , Ord -- ^ @since 0.7.0.0
766763 , Show
767- , Typeable
768764 , Generic
769765 )
770766
@@ -812,7 +808,7 @@ data CompressionStrategy =
812808 -- ^ @since 0.7.0.0
813809 | Fixed
814810 -- ^ @since 0.7.0.0
815- deriving (Eq , Ord , Enum , Bounded , Show , Typeable
811+ deriving (Eq , Ord , Enum , Bounded , Show
816812 , Generic
817813 )
818814
0 commit comments