From 5e34b380bd0fbad14b0f20079026ce1536be6dfd Mon Sep 17 00:00:00 2001 From: brandon s allbery kf8nh Date: Tue, 23 Jul 2024 18:32:23 -0400 Subject: [PATCH] rm-old-base: remove Distribution.Compat.Typeable It's not needed with our currently supported ghcs. --- .../src/Distribution/Compat/Typeable.hs | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100644 Cabal-syntax/src/Distribution/Compat/Typeable.hs diff --git a/Cabal-syntax/src/Distribution/Compat/Typeable.hs b/Cabal-syntax/src/Distribution/Compat/Typeable.hs deleted file mode 100644 index 161f868a823..00000000000 --- a/Cabal-syntax/src/Distribution/Compat/Typeable.hs +++ /dev/null @@ -1,19 +0,0 @@ -{-# LANGUAGE CPP #-} -{-# LANGUAGE ScopedTypeVariables #-} - -module Distribution.Compat.Typeable - ( Typeable - , TypeRep - , typeRep - ) where - -#if MIN_VERSION_base(4,7,0) -import Data.Typeable (Typeable, TypeRep, typeRep) -#else -import Data.Typeable (Typeable, TypeRep, typeOf) -#endif - -#if !MIN_VERSION_base(4,7,0) -typeRep :: forall a proxy. Typeable a => proxy a -> TypeRep -typeRep _ = typeOf (undefined :: a) -#endif