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/include | |
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/include')
-rw-r--r-- | libraries/base/include/CTypes.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libraries/base/include/CTypes.h b/libraries/base/include/CTypes.h index ec1813152f..d821d66b5b 100644 --- a/libraries/base/include/CTypes.h +++ b/libraries/base/include/CTypes.h @@ -16,7 +16,7 @@ -- // GHC can derive any class for a newtype, so we make use of that here... -#define ARITHMETIC_CLASSES Eq,Ord,Num,Enum,Storable,Real,Typeable +#define ARITHMETIC_CLASSES Eq,Ord,Num,Enum,Storable,Real #define INTEGRAL_CLASSES Bounded,Integral,Bits,FiniteBits #define FLOATING_CLASSES Fractional,Floating,RealFrac,RealFloat |