diff options
author | Herbert Valerio Riedel <hvr@gnu.org> | 2015-03-07 20:42:21 +0100 |
---|---|---|
committer | Herbert Valerio Riedel <hvr@gnu.org> | 2015-03-07 20:45:44 +0100 |
commit | 47b5b5c2b2c92ba091313c36489588edadceaa9d (patch) | |
tree | dbfae91089f8812d537bb75a48cb08e518274990 /libraries/base/Data/Version.hs | |
parent | 68d4f47212633d101c5f4963dbfccf0fb9a8580f (diff) | |
download | haskell-47b5b5c2b2c92ba091313c36489588edadceaa9d.tar.gz |
base: drop redundant Typeable derivings
Thanks to #9858 `Typeable` doesn't need to be explicitly derived anymore.
This also makes `AutoDeriveTypeable` redundant, as well as some imports of
`Typeable` (removal of whose may be beneficial to #9707). This commit
removes several such now redundant use-sites in `base`.
Reviewed By: austin, ekmett
Differential Revision: https://phabricator.haskell.org/D712
Diffstat (limited to 'libraries/base/Data/Version.hs')
-rw-r--r-- | libraries/base/Data/Version.hs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/libraries/base/Data/Version.hs b/libraries/base/Data/Version.hs index 1a14fd08f4..20060c48ba 100644 --- a/libraries/base/Data/Version.hs +++ b/libraries/base/Data/Version.hs @@ -1,5 +1,4 @@ {-# LANGUAGE Safe #-} -{-# LANGUAGE AutoDeriveTypeable #-} {-# LANGUAGE NoImplicitPrelude #-} ----------------------------------------------------------------------------- @@ -44,7 +43,6 @@ import Data.Int ( Int ) import Data.List import Data.Ord import Data.String ( String ) -import Data.Typeable ( Typeable ) import GHC.Read import GHC.Show import Text.ParserCombinators.ReadP @@ -93,7 +91,7 @@ data Version = -- The interpretation of the list of tags is entirely dependent -- on the entity that this version applies to. } - deriving (Read,Show,Typeable) + deriving (Read,Show) {-# DEPRECATED versionTags "See GHC ticket #2496" #-} -- TODO. Remove all references to versionTags in GHC 7.12 release. |