Skip to content

Commit

Permalink
Fix -Wderiving-typeable
Browse files Browse the repository at this point in the history
  • Loading branch information
Bodigrim committed Sep 26, 2024
1 parent 1a3cfa4 commit 712930c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
3 changes: 1 addition & 2 deletions src/Data/Bit/F2Poly.hs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ import Data.Bits
import Data.Char
import Data.Coerce
import Data.Primitive.ByteArray
import Data.Typeable
import qualified Data.Vector.Primitive as P
import qualified Data.Vector.Unboxed as U
import qualified Data.Vector.Unboxed.Mutable as MU
Expand Down Expand Up @@ -77,7 +76,7 @@ newtype F2Poly = F2Poly {
--
-- @since 1.0.1.0
}
deriving (Eq, Ord, Typeable, Generic, NFData)
deriving (Eq, Ord, Generic, NFData)

-- | Make an 'F2Poly' from a list of coefficients
-- (first element corresponds to a constant term).
Expand Down
5 changes: 2 additions & 3 deletions src/Data/Bit/Internal.hs
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ import Data.Bits
import Data.Bit.Utils
import Data.Primitive.ByteArray
import Data.Ratio
import Data.Typeable
import qualified Data.Vector.Generic as V
import qualified Data.Vector.Generic.Mutable as MV
import qualified Data.Vector.Unboxed as U
Expand All @@ -65,7 +64,7 @@ newtype Bit = Bit {
} deriving
(Bounded, Enum, Eq, Ord
, FiniteBits -- ^ @since 0.2.0.0
, Bits, Typeable
, Bits
, Generic -- ^ @since 1.0.1.0
, NFData -- ^ @since 1.0.1.0
)
Expand All @@ -83,7 +82,7 @@ newtype Bit = Bit {
} deriving
(Bounded, Enum, Eq, Ord
, FiniteBits -- ^ @since 0.2.0.0
, Bits, Typeable
, Bits
, Generic -- ^ @since 1.0.1.0
, NFData -- ^ @since 1.0.1.0
)
Expand Down

0 comments on commit 712930c

Please sign in to comment.