Skip to content

Commit

Permalink
Remove Typeable instances
Browse files Browse the repository at this point in the history
  • Loading branch information
9999years committed Dec 6, 2024
1 parent 7b3ac35 commit df3c90f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ data ConstraintSource =
-- | An implicit constraint added by Cabal, for example if no targets are
-- listed on the command line.
| ConstraintSourceImplicitTarget
deriving (Show, Eq, Ord, Generic, Typeable)
deriving (Show, Eq, Ord, Generic)

instance Binary ConstraintSource
instance Structured ConstraintSource
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import Text.PrettyPrint

-- | A package, identified by a name and properties.
data NamedPackage = NamedPackage PackageName [PackageProperty]
deriving (Show, Eq, Ord, Generic, Typeable)
deriving (Show, Eq, Ord, Generic)

instance Binary NamedPackage
instance Structured NamedPackage
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ data WithConstraintSource pkg =
, constraintSource :: ConstraintSource
-- ^ The constraint source for the package.
}
deriving (Show, Functor, Eq, Ord, Traversable, Foldable, Generic, Typeable)
deriving (Show, Functor, Eq, Ord, Traversable, Foldable, Generic)

instance Binary pkg => Binary (WithConstraintSource pkg)
instance Structured pkg => Structured (WithConstraintSource pkg)
Expand Down

0 comments on commit df3c90f

Please sign in to comment.